[Mono-list] Windows: Propagating exit codes in .bat files?
Miguel de Icaza
miguel@novell.com
Sun, 02 May 2004 14:23:56 -0400
Hey guys,
We have an issue with Mono, we are shipping batch files for Windows
like this:
c:\>type mcs.bat
mono mcs.exe
c:\>
The problem is that if `mcs.exe' returns an exitcode different than
zero, the error is not propagated to the caller, so this means that in
Makefiles, things keep going even if there is a failure.
Anyone knows enough DOS to tell me how to fix that?
Miguel.