Article View: comp.sys.mac
Article #15789Re: "system" call
From: tomas
Date: Mon, 27 Apr 1987 16:15
Date: Mon, 27 Apr 1987 16:15
25 lines
1560 bytes
1560 bytes
In article <3042@sdcsvax.UCSD.EDU> jww@sdcsvax.UCSD.EDU (Joel West) writes:
>In article <663@van-bc.UUCP>, sl@van-bc.UUCP (Stuart Lynne) writes:
>> I need a call similiar to the unix "system" to put into a uucp
>> program to do the uuxqt part.
>
>the way to do this is to:
> 1. Find out who's the current 'Finder' and save the name
> 2. Make your program the current finder.
> 3. _Chain to the program.
> 4. Wait to come back.
>
>I've not done it myself, so I don't know whether you want _Launch
>or _Chain (i.e., when you come back, your heap might not be
>re-initialized if you try _Chain, but I'm not sure).
>
>This is what the MPW shell does when you run an application, and
>it looked like what the Aztec shell does, too.
>--
> Joel West
> {ucbvax,ihnp4}!sdcsvax!jww (ihnp4!gould9!joel once I fix news)
> jww@sdcsvax.ucsd.edu if you must
This is NOT the way the MPW Shell does it.
Tom Taylor / Development Systems Group
Technical Details
Message-ID:
<665@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!pyramid!voder!apple!tomasReferences:
<663@van-bc.UUCP> <3042@sdcsvax.UCSD.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!pyramid!voder!apple!tomas From: tomas@apple.UUCP Newsgroups: comp.sys.mac Subject: Re: "system" call Message-ID: <665@apple.UUCP> Date: Mon, 27-Apr-87 12:15:43 EDT Article-I.D.: apple.665 Posted: Mon Apr 27 12:15:43 1987 Date-Received: Wed, 29-Apr-87 00:45:14 EDT References: <663@van-bc.UUCP> <3042@sdcsvax.UCSD.EDU> Reply-To: tomas@apple.UUCP (Tom Taylor) Organization: Apple Computer Inc., Cupertino, USA Lines: 25 Keywords: system library mac