Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!andy From: andy@cbmvax.commodore.com (Andy Finkel) Newsgroups: comp.sys.amiga.programmer Subject: Re: HELP with Independant Children Processes Message-ID: <18606@cbmvax.commodore.com> Date: 6 Feb 91 00:25:39 GMT References: <1991Feb4.171549.28531@nntp-server.caltech.edu> Reply-To: andy@cbmvax.commodore.com (Andy Finkel) Organization: Commodore, West Chester, PA Lines: 42 In article Jay@deepthot.UUCP (Jay Denebeim) writes: >In article <1991Feb4.171549.28531@nntp-server.caltech.edu> tll@nntp-server.caltech.edu (Tal Lewis Lancaster) writes: >Under 2.0 you've got two choices: > System() > Execute() > >System executes syncronously, and returns the return code of the child >task to the caller. > >Execute executes asyncronously, and returns success of the launching of >the program. Execute() under 1.3 or 2.0 is sync. And for compatibility, you can't get return codes :-( System() under 2.0 can be sync or async, your choice. And, if used sync style, you can even get return codes passed back from the program. >>Does anybody know the string length limit for the 2.0 System() call? Is it the >>same as a CLI command 256? The limit is currently 512 characters. We almost made it unlimited, but ran into compatibility problems with some 3rd party products that know too much about dos for their own good. I have a plan to handle that which may get put in sometime in the future, though. >>Tal Lancaster >>tll@tybalt.caltech.edu andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "God was able to create the world in only seven days because there was no installed base to consider." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.