Path: utzoo!utgpu!attcan!uunet!mcvax!enea!kth!draken!liuida!mikhe From: mikhe@tragicomix.liu.se (Mike Henry) Newsgroups: comp.sys.amiga Subject: Re: Spawning programs, problems and questions Summary: ARP comes to the rescue... B^) Message-ID: <1021@tragicomix.liu.se> Date: 3 Nov 88 03:37:33 GMT References: <8810311855.AA05614@cory.Berkeley.EDU> Organization: CIS Dept, Univ of Linkoping, Sweden Lines: 27 In article <8810311855.AA05614@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: >:reliable. fexecv is bogus: why go to the trouble of parsing your CLI command >:line into arguments just to have it pack it back into a command line? Why >:didn't they just implement system()? >: >:If anyone can provide an implementation of "system()" that works: > > The problem with Execute() is that you can't get the exit value >of the program. > > -Matt Here's another reason why ARP shouldn't go unchecked !! There's a "replacement" for Execute() called ASyncRun(), which works in a similar maner but returns the "childs" exit code. ARP also have the capabilities of parsing your CLI command line if you just pass it a template, other capabilities/features exist as well. Use SyncRun() if you need syncronicity. Check TransAmi #3 for details. (I've got the UK edition, so I don't know if it's in the OTHER one, it ought to be... B^) -Mike -- INET : mikhe@majestix.liu.se /// UUCP : {seismo,mcvax,munnari}!enea!liuida!majestix!mikhe /// ARPA : mikhe%majestix.{ida.liu.se,UUCP}@seismo.CSS.GOV \\\/// What SNAIL: Mike Henry, Alsattersg. 3C:20, S-582 51 Linkoping SWEDEN \XX/ Else??