Piotr Caban piotr.caban@gmail.com writes:
I've seen that this patch was marked as pending. I'm not sure what should I change in it. The argv[0] argument is not used in child process so maybe it will be clearer if I put some dummy value there. I can also change the tests to not use _spawnvp.
It's probably ok to use the basename, but you have to do it correctly. Also adding a helper function wouldn't hurt.