everyoneca
Programmer
how do I store stdout value from system(); into a char* variable?
e.g.
I have child process that executes system(); function, but the output is displayed on server binary tty,
I would like to store the output of system("ls -la");
into a char* variable for later use / display .
is this possible ?
thanks,
taylor