Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!sdcsvax!jww From: jww@sdcsvax.UCSD.EDU (Joel West) Newsgroups: comp.sys.mac Subject: Re: "system" call Message-ID: <3042@sdcsvax.UCSD.EDU> Date: Sun, 26-Apr-87 11:33:26 EDT Article-I.D.: sdcsvax.3042 Posted: Sun Apr 26 11:33:26 1987 Date-Received: Sun, 26-Apr-87 23:35:51 EDT References: <663@van-bc.UUCP> Organization: Western Software Technology, Vista, CA Lines: 20 Keywords: system library mac 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