dangerous stuff popen2()

Paul Matthews plm at pcug.org.au
Fri Oct 12 22:13:17 EST 2001


G'Day all,

Need a command like popen() that I can both write to and then read from,
a sort of popen2(). I know this is dangerous and all, but as the captive
program in this case will be a sort, it won't produce any output until
the input in closed, as as such avoiding deadlock.

I've have had two attempts at this, but as yet without success. Anyone
go any good hints as how to approach this.

--
Paul Matthews




More information about the linux mailing list