mes/module
Peter De Wachter 053309e4dc
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
..
mes core: Resurrect MES_MINI for non-POSIX. 2018-10-06 07:25:39 +02:00
mescc mescc: Exit with non-zero exit code when subprocess fails. 2018-10-16 20:40:35 +02:00