Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!caip!clyde!cbatt!cbosgd!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Fork Impossible, Exec Probable Message-ID: <8610092011.AA19213@cory.Berkeley.EDU> Date: Thu, 9-Oct-86 16:11:43 EDT Article-I.D.: cory.8610092011.AA19213 Posted: Thu Oct 9 16:11:43 1986 Date-Received: Fri, 10-Oct-86 03:51:24 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 13 Not that I'm about to tackle exec myself ... only someone with full BCPL startup specs would be able to do that. However, I see no reason why you couldn't deallocate your segment first, then allocate the new program's segment (after checking to be sure it's a proper executable), simply AllocMem some memory and place the execstrap in it.. then have it unload the first program, load and execute the second, and then free itself/ kill itself (I believe you can specify certain memory to be Free'd automatically on exit) Without Fork I don't see what use a UNIX exec will be, though. -Matt