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 -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr