M
m_schellens
I want to spawn an external program from my C++ app.
And I want to get the standard and error output from
the spawned program.
Spawning is done in C++ with the
int system(const char *s)
function, but how do I redirect its output into lets say
a vector of strings which I can examine from within my program.
Thanks,
marc
And I want to get the standard and error output from
the spawned program.
Spawning is done in C++ with the
int system(const char *s)
function, but how do I redirect its output into lets say
a vector of strings which I can examine from within my program.
Thanks,
marc