Use posix_spawn() instead of fork()/exec().