Is this stackoverflow popen2 [0] something like what you're looking for? [0] http://stackoverflow.com/questions/125828/capturing-stdout-from-a-system-command-optimally
On Mon, Nov 10, 2014 at 9:12 AM, Kevin Ingwersen (Ingwie Phoenix) <[email protected]> wrote: > Hey. > > I am working on a small v8 based app. Its just one that lets me design some > startup and shutdown services with JS. But I wanted to spread it just a bit > further, and wanted to add a library to it, that: > > - Runs an external program > - Picks up STDOUT and STDERR > - Returns the exit code. > > I do not want to use redirection for this case, as I want stdout/stderr > separately. > > Does anyone of a simple library to do that? One that does -not- depend on > Boost, Poco, dlib or anything? Just a simple stand-alone library? > > Kind regards, > Ingwie > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
