Interacting with subprocesses.



A friend and I are writing a program that spawns an external program and wants
to be able to read data from its stdout, and send data to its stdin.  Someone
on the list suggested popen() for spawning a program and getting its output,
and that's useful, but we also need to be able to send input.  Sorry if the
request is a bit vague; I'm just getting started and not sure exactly what I'm
asking.  TIA for any help.
----------------------------------------------------
Adam Lopresto (lopresto@writeme.com)
http://cec.wustl.edu/~adl4/

Eschew obfuscation!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]