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


Hi,

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?

Thanks!

-- 
Michiel Helvensteijn

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net