Hi All,

Wondering why FreeDOS COMMAND.COM doesn't exit with ERRORLEVEL like other
command processors.  main() in command.c ends with "return 0" where it
should really be "return errorlevel".

This way error codes are returned to the calling shell (or other program).

For my purposes it is a requirement that the errorlevel is returned to the
calling shell/program.

Any options?

- Darrin
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to