Boost logo

Boost Users :

Subject: [Boost-users] std-in/out communication with child process
From: Michiel Helvensteijn (m.helvensteijn_at_[hidden])
Date: 2008-11-02 08:50:22


I'd like to open a child process within my main process and send info to its
stdin and get info from its stdout/stderr.

It would be handy for the unit testing suite for a compiler. It would
compile some source-code to a binary, start the binary as a child process
and test it.

Is there a way in C++ and/or Boost to do this?


Michiel Helvensteijn

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at