Thread View: comp.atari.st
1 messages
1 total messages
Started by tm
Mon, 16 Feb 1987 03:18
Question on Exec with Lattice C
Author: tm
Date: Mon, 16 Feb 1987 03:18
Date: Mon, 16 Feb 1987 03:18
28 lines
1710 bytes
1710 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads