Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-02-21 08:12:44

On Sun, Feb 20, 2005 at 06:42:24PM +0100, Julio M. Merino Vidal wrote:

> Among the classes I wrote, there are some that provide an abstraction
> layer to launch other (child) processes. Once the process is launched,
> the code can access its standard input/output/error streams by using the
> standard iostreams framework.

I'm very interested in this. I wrote a utility to do something similar,
although currently the process creation code is done by the streambuf
class. Angus Leeming separated the process-control code from the stream
buffer code which I think was the basis for the code he's using in LyX
now (is that right Angus?) Unfortunately I haven't had time to commit
his changes to CVS so you can't see his code anywhere yet (sorry, Angus,
I've been extremely busy at work and adding boost::shared_ptr to GCC).

See for the current code, and imagine that there
is a separate "process" class that pstreambuf uses to create and control
the child process.


"Strange how potent cheap music is."
	- Noël Coward

Boost list run by bdawes at, gregod at, cpdaniel at, john at