Merge: No abort() on bad execvp
authorJean Privat <jean@pryen.org>
Wed, 7 Jan 2015 02:06:59 +0000 (21:06 -0500)
committerJean Privat <jean@pryen.org>
Wed, 7 Jan 2015 02:06:59 +0000 (21:06 -0500)
When a bad command is passed to Process, the child-process will `C-abort()`, displaying frightening messages on the screen and causing confusion to the user.
Instead, just `_exit(127)` to terminate the child silently and let the parent do its things.

TODO better error management to not lose the error of the failed `execvp` system call.

Pull-Request: #1074
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>


Trivial merge