Frank Heckenbach a écrit:
Maurice Lombardi wrote:
Frank Heckenbach a écrit:
TEST pipetes2.pas: The process terminated with status 0.
This might be a problem with command.com (if you have this as your default shell under DJGPP). The test program invokes it with the command `exit 42'.
At least my version (Novell Dos 7) seems to work correctly, as tried from bash under DJGPP:
bash$ command.com /c "exit 42" bash$ echo $? 42
Indeed I obtain
Welcome to bash version 2.04.7(1)-release knautie#1(c:/)$ command.com /c "exit 42" knautie#1(c:/)$ echo $? 0
Maurice