Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!pyramid!voder!apple!lsr From: lsr@apple.UUCP Newsgroups: comp.sys.mac Subject: Re: "system" call Message-ID: <666@apple.UUCP> Date: Mon, 27-Apr-87 13:35:52 EDT Article-I.D.: apple.666 Posted: Mon Apr 27 13:35:52 1987 Date-Received: Wed, 29-Apr-87 00:44:59 EDT References: <663@van-bc.UUCP> <3042@sdcsvax.UCSD.EDU> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 42 Keywords: system library mac 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 have good news and bad news. The good news is that there is a much easier way to do this. The more recent systems support a sublaunch protocol, which allows one program to launch another and regain control when the other program finishes. It does not require changing low memory globals. There is an extended set of parameters to the Launch call that indicates is a sublaunch is desired. The bad news? You will have to wait a couple of weeks to get the full details. The reason is that this feature is going to be documented in the next set of Tech Notes, which are due to be distributed in a couple of weeks. I am one of the Tech Note reviewers, which is why I know about this. Unfortunately, I returned my review copy, so I don't have the exact details around. (Plus, I would prefer to wait for the official Tech Note release, just in case the review copy had errors.) I will post the information as soon as I get it. (Although given the way Tech Notes are distributed, people outside Apple will probably see them first.) -- Larry Rosenstein Object Specialist Apple Computer AppleLink: Rosenstein1 UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr CSNET: lsr@Apple.CSNET