Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -886,16 +886,17 @@ ;; *-*-msdosdjgpp*) have_processes="no" ;; *) - AC_CHECK_FUNCS([fork dup2 execvp kill], [ + AC_CHECK_FUNCS([fork dup2 execvp kill _exit], [ if test x"$ac_cv_func_fork" = x"yes" \ -a x"$ac_cv_func_pipe" = x"yes" \ -a x"$ac_cv_func_dup2" = x"yes" \ -a x"$ac_cv_func_execvp" = x"yes" \ - -a x"$ac_cv_func_kill" = x"yes"; then + -a x"$ac_cv_func_kill" = x"yes" \ + -a x"$ac_cv_func__exit" = x"yes"; then have_processes="yes" fi ], [ break ]) Index: src/OFProcess.m ================================================================== --- src/OFProcess.m +++ src/OFProcess.m @@ -174,12 +174,11 @@ close(_writePipe[1]); dup2(_writePipe[0], 0); dup2(_readPipe[1], 1); execvp([program cStringWithEncoding: encoding], argv); - @throw [OFInitializationFailedException - exceptionWithClass: [self class]]; + _exit(EXIT_FAILURE); case -1: @throw [OFInitializationFailedException exceptionWithClass: [self class]]; default: close(_readPipe[1]);