Boost.Process might be what you need. It's still in working but almost finished, you can try it :
http://svn.boost.org/svn/boost/sandbox/SOC/2010/process/
http://www.highscore.de/boost/gsoc2010/process.zip

On Thu, Sep 23, 2010 at 11:50, gast128 <gast128@hotmail.com> wrote:
Hello all,

I was asking if there is CreateProcess like functionailty in Boost.

In our application we lock files, and spawn a process (thru _spawn). However
it seems that m$ implemented in this way that handles are inherited by child
process. This means that the child process is also getting the handle of the
locked file, preventing the main application to write to this locked file.

So I was wondering if there is a portable c++ way to create prcoesses.
Otheriwse we have to write it ourselves and spying the sources of m$ it seems
that parsing the commandline is not trivial.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users