Path: utzoo!attcan!uunet!mcvax!unido!fauern!faui44!mlelstv From: mlelstv@faui44.informatik.uni-erlangen.de (Michael van Elst ) Newsgroups: comp.sys.amiga Subject: Re: Spawning programs, problems and questions Message-ID: <726@faui10.informatik.uni-erlangen.de> Date: 3 Nov 88 19:17:24 GMT References: <8810311855.AA05614@cory.Berkeley.EDU> Reply-To: mlelstv@faui44.UUCP (Michael van Elst (kdebugger)) Organization: CSD., University of Erlangen, W - Germany Lines: 14 In article <8810311855.AA05614@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: > The problem with Execute() is that you can't get the exit value >of the program. Since Kick1.2 you get the return value of the program and a -1 if your program couldn't get loaded. Thus you can't distinguish between 'not found' and 'return value = -1'. But if you Execute("RUN program",0,0) you get the return value of the RUN command and the program's return value is lost. Michael van Elst E-mail: UUCP: ...uunet!unido!fauern!faui44!mlelstv