[comp.sys.mac.system] 7.0b4 stdin/stdout redirection query

science@oasys.dt.navy.mil (Mark Zimmermann) (04/01/91)

Could anybody advise me where to begin reading in the 7.0b4
documentation to help me set up a *very* simple interprocess
communication system between two programs?  Specifically, I want to do
something that is nearly trivial under UNIX: I want one program to
launch another one and to maintain control of standard input/output
for that second (server-like) process.  Thus, at present I have a
working program (written using THINK C) which responds to console
input and displays its results on the teletype-style console.  I need
to put another `shell' around it, in a sense.  Is that trivial,
possible, difficult, or what?  I have not, thus far, been able to see
a straightforward way to begin to approach this, after perusing the
Apple Event Registry and Inside Macintosh Volume VI, etc., on the
7.0b4 CD-ROM.  Help!!! :-) - ^z

(Mark Zimmermann, science@oasys.dt.navy.mil, AppleLink `zimmermann')