in reply to Re: Asynchronous Program Spawning
in thread Asynchronous Program Spawning

a call to exit() should be included after the exec() so that in case the exec fails, the child doesn't continue running parent code.