Capturing standard output from external program
I am writing a C++ program that needs to spawn an external executable (/usr/sbin/pppd). I then need to somehow attach to this executable and capture the standard output of the program. I can use any API to execute the binary (.i.e. system(), exec(), etc..)
|
Do you need only the exit code or something more?
|
All times are GMT -5. The time now is 01:38 AM. |