stevenk140
Programmer
I have a problem where from my c program, I am running a system command with:
system(cmd);
Now I have a couple of problems. The program I am running in that command is failing and I want to catch the stderr output (so a 'cmd > outfile' does not work). How could I output the results of my command to a file?
Steve
system(cmd);
Now I have a couple of problems. The program I am running in that command is failing and I want to catch the stderr output (so a 'cmd > outfile' does not work). How could I output the results of my command to a file?
Steve