slackware linux programming question Does anyone know how to capture the normal terminal output of a program
called from a 'C' program system() call?
I want to get the output of pstree from within my program.
example: returnval = system("pstree");
How can I capture the output of pstree that would normally show up in
the terminal window?
Thanks |