[net.micro.pc] Obtaining Error Codes from COMMAND.COM

igielski@mmm.UUCP (Tom Igielski) (03/27/86)

I am developing a program that needs to invoke other programs by spawning
COMMAND.COM with the new program on the command line.  The problem I am having
is that, when the program invoked by COMMAND.COM exits with an error, the error
is passed back to COMMAND.COM, but COMMAND.COM does not pass the error back
to my original program.

Is there a way to get COMMAND.COM to return error codes from programs it
invokes as part of this process.


Thanks in Advance,


Tom Igielski