Use _exit() instead of exit() for failed exec().