From: pjbk AT cee DOT hw DOT ac DOT uk (Peter JB King) Subject: Result of "system" calls To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 17 Aug 93 11:32:51 WET DST I have a suite of programs developed under TurboC, which I have transferred to GnuC, using go32. There is a slight problem that I have observed. When a call to system fails, then the value returned is 0. This can happen for example if a TurboC main program executes rc = system("gcc_prog ..."); and go32 is not in the PATH, or if the gcc_prog is interrupted by ^C. In either case, system returns 0. Should it not return some non zero value? (I don't know what UNIX does) -- Peter King, Computing & Electrical Eng. JANET: pjbk AT uk DOT ac DOT hw DOT cee Heriot-Watt University ARPA: pjbk AT cee DOT hw DOT ac DOT uk Riccarton, Edinburgh EH14 4AS UUCP: ..!uknet!cee.hw.ac.uk!pjbk Phone: (+44) 31 451 3433 Fax: (+44) 31 451 3431