Mail Archives: djgpp/1995/01/11/14:46:22
> Neither bug nor gotcha. Every reasonable make program calls
> compilers directly, not through COMMAND.COM (with spawnXXX()
> function call), precisely because this is the only way to get
> at its exit status.
Actually, it is possible to get the exit status from a program run under
COMMAND.COM in a reasonably portable way: create a .BAT file to run the
program, check the error level in the .BAT file and signal success/failure
through an environment variable or auxiliary file. OPUS make actually does
this automatically when it needs to go through command.com.
- Raw text -