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/ * **********************************************
On Fri, 08 Jul 2005 13:27:30 +0100, Foster, Gareth wrote
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.
Nothing in Boost yet. But see: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostProcess On the 'Existing Libraries' subpage there are some pointers to existing library solutions. Jeff
participants (2)
-
Foster, Gareth
-
Jeff Garland