Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!jade!ucbvax!FRSAC11.BITNET!NETWORK From: NETWORK@FRSAC11.BITNET Newsgroups: comp.sys.atari.st Subject: Lattice 3.04 forkvp() Message-ID: <8801051907.AA27159@ucbvax.Berkeley.EDU> Date: 5 Jan 88 14:54:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 29 Date: 5 January 1988, 14:45:05 GMT From: NETWORK at FRSAC11 To: INFO-ATARI16 at SCORE Lately I had to use MCC Lattice C 3.04... I would use the forkvp() call, but when I try I get 3 lovely bombs on my screen, and it is ruining my whole evening. Can some king soul talk to me how to do a successful spawn in Lattice ? In MWC I do a Pexec and it is running, but I would prefer use a more straight UNIX formalism, and do a fork() or an exec(). (I know the semantics are not the same at all, but I am only interested in maintaining a portable coding, and accept the GEMDOS restrictions...) More on the subject: what do I have to do to transmit to the Pexeced process a nice environment ? (The doc I have on GEMDOS does not talk environment about Pexec.) Is the thing set up for me in the child basepage by Pexec ? or what ? (I *need* to transmit a nice environment.) Please help my code. Have a better year. Jean-Pierre H. Dumas network@frsac11 (bitnet) network%frsac11.bitnet@mitvma.mit.edu (arpanet) dumas@sumex-aim.stanford.edu (arpanet)