tags:

views:

98

answers:

2

How to popen with both stdin and stdout in windows in c?

+1  A: 

It's a little more complicated as this MSDN article shows.

Joey
Can you please explain why it doesn't work? The child process is only required to read/write from/to stdin/stdout. You don't have to somehow implement the sample program from that page.
Joey
sorry I interpreted wrongly.. Ya it is working... thanks
suresh
+2  A: 

A sample is given in the following article. It is quite long-winded but you can cut out the relevant parts. http://support.microsoft.com/kb/190351

Sebastian Tusk