mes/module/mescc
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
..
i386 mescc: Another attempt at divide. 2018-10-07 15:15:45 +02:00
x86_64 mescc: Another attempt at divide. 2018-10-07 15:15:45 +02:00
as.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
bytevectors.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
compile.scm mescc: Nyacc comment escapes. 2018-10-06 20:32:49 +02:00
info.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
M1.scm mescc: Oops typo. 2018-10-12 09:37:10 +02:00
mescc.scm mescc: Exit with non-zero exit code when subprocess fails. 2018-10-16 20:40:35 +02:00
preprocess.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00