Commit 6a058a4b authored by Eric Timmons's avatar Eric Timmons
Browse files

si_spawn_subprocess: _exit instead of abort if exec fails

On MacOS, the stream flushing that happens as part of abort can corrupt streams
in the parent process. See: #600
parent 1effa6a1
......@@ -529,7 +529,7 @@ si_spawn_subprocess(cl_object command, cl_object argv, cl_object environ,
}
/* at this point exec has failed */
perror("exec");
abort();
_exit(EXIT_FAILURE);
}
close(child_stdin);
close(child_stdout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment