8 Jul
2005
8 Jul
'05
12:27 p.m.
Hello, I am after a library that will let me do something like the following, and I was wondering whether there were Boost libraries that would help. /* * some pseudo code ... */ Process process("c:\someApp.exe"); process.spawn(); Process::WriteHandle WriteHandle = process.get_write_handle(); Process::ReadHandle ReadHandle = process.get_read_handle(); while(process.good()) { std::string sz_output; sz_output << ReadHandle; if(sz_output == "Continue?") { "Yes" >> WriteHandle; // etc } } Any ideas? Cheers, Gaz ********************************************** * http://www.mozilla.org/products/firefox/ * **********************************************