in reply to could not get exec and sytem to work

Also notable, is that you don't want to create a child, have the child change its current directory, and then kill the child. That has no effect on your own current directory.

See chdir instead.

  • Comment on Re: could not get exec and sytem to work