mes/mes
Peter De Wachter ab76bafb08
mescc: Exit with non-zero exit code when subprocess fails.
system* returns the result of waitpid. So, suppose that a subprocess
fails with exit code 1. Then the waitpid return value will be 256.
And exit(256) is equivalent to exit(0).

Modified-by: Jan Nieuwenhuizen <janneke@gnu.org>

* mes/module/mes/posix.mes (status:exit-val): New function.
* module/mescc/mescc.scm (assert-system*): Use it.
2018-10-16 20:40:35 +02:00
..
module mescc: Exit with non-zero exit code when subprocess fails. 2018-10-16 20:40:35 +02:00
include build: Separate Mes and Guile modules. 2018-07-21 07:15:52 +02:00
lib build: Separate Mes and Guile modules. 2018-07-21 07:15:52 +02:00