Linux fixes to use posix_spawn and detect process exit and launch failure.