Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ptsfa!ihnp4!laidbak!tm From: tm@laidbak.UUCP Newsgroups: comp.atari.st,comp.sys.atari.st Subject: Question on Exec with Lattice C Message-ID: <852@laidbak.UUCP> Date: Sun, 15-Feb-87 22:18:27 EST Article-I.D.: laidbak.852 Posted: Sun Feb 15 22:18:27 1987 Date-Received: Mon, 16-Feb-87 06:54:29 EST Reply-To: tm@laidbak.UUCP (Takis Mercouris) Organization: Lachman Associates, Inc. Chicago Lines: 28 Xref: utgpu junk:4755 comp.sys.atari.st:1532 I really hate how Lattice C documents if at all the ST interface!! Lately, I have been trying to exec programs from within other programs. I suspect that the Lattice C equivalent of pexec is the ridiculously named shel_write, however, if I am right, the description is really ambiguous. I claim: rc = shel_write( exec, graf, gem, command, tail ) Start another application when this one terminates. Now, I don't want to exit the current application, only run another program and come back. Is this indeed the equivalent of pexec, and if not which one is it? Has anybody succesfully done using Lattice C anything like I am trying? Can somebody please email or post a small sample program with comments? Also, I looked in some usenet code (I think stmake) and the author seemed to be encoding the length of the tail in its first byte. However, this is not documented neither in my Lattice C manual (of course), nor in the Abacus internals. Finally, is the Abacus function number $4B for exec correct? Any sample program, clue, hint will be greatly appreciated. P.S. Please don't bother telling me to look in the LIB18.ASM compiler files, I have.