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
This commit is contained in:
parent
1effa6a160
commit
6a058a4bfc
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ si_spawn_subprocess(cl_object command, cl_object argv, cl_object environ,
|
||||||
}
|
}
|
||||||
/* at this point exec has failed */
|
/* at this point exec has failed */
|
||||||
perror("exec");
|
perror("exec");
|
||||||
abort();
|
_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
close(child_stdin);
|
close(child_stdin);
|
||||||
close(child_stdout);
|
close(child_stdout);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue