// RETSIGTYPE (*chfunc)(int);
context.setLastExitStatus(context.nil);
// chfunc = signal(SIGCHLD, SIG_DFL);
// #endif
PopenExecutor executor = new PopenExecutor();
pid = executor.spawnInternal(context, args, null);
// #if defined(HAVE_FORK) || defined(HAVE_SPAWNV)
if (pid > 0) {
long ret;
ret = RubyProcess.waitpid(runtime, pid, 0);
if (ret == -1)