Cross-platform process library?

Hey everyone, Since there is not yet a Boost.Process library, does anyone have a suggestion for a lightweight cross-platform C++ library for launching and monitoring (i.e. being able to tell if they die) child processes? Thanks! Greg

Hi, On Wed, Jun 1, 2011 at 00:02, Gregory Crosswhite <gcross@phys.washington.edu
wrote:
Hey everyone,
Since there is not yet a Boost.Process library, does anyone have a suggestion for a lightweight cross-platform C++ library for launching and monitoring (i.e. being able to tell if they die) child processes?
One other (set of) libraries often cited as alternative for providing process control (and other services not yet in boost like modules/extensions) is Poco : http://pocoproject.org/documentation/index.html Joël Lamotte

Gregory Crosswhite wrote:
Hey everyone,
Since there is not yet a Boost.Process library, does anyone have a suggestion for a lightweight cross-platform C++ library for launching and monitoring (i.e. being able to tell if they die) child processes?
I've put the code from the recent boostcon "boost process" presentation that Boris Schaeling and I gave at: https://github.com/JeffFlinn/boost-process Initial documentation is at: https://docs.google.com/document/pub?id=1qdpxcJB51WMuNYlKYPkPcZZGuPj7zmeUPIp... The intent is to get this completed and ask for review this summer. The areas needing work are: - docs - unit tests - environment variables support (currently inherits) - improve POSIX child unused handle closing - asynchronous joining/waiting I've been successfully using this in my company's product for about 6 months on various flavors of Windows and Mac. Your comments are appreciated. Thanks, Jeff
participants (3)
-
Gregory Crosswhite
-
Jeff Flinn
-
Klaim - Joël Lamotte