Is it possible read the standard error generated by a wrong bash function in C++? For example if I use the popen function, can I read the standard error with cerr and handle it?
Asked
Active
Viewed 184 times
0
-
You might want to look at http://stackoverflow.com/questions/280571/how-to-control-popen-stdin-stdout-stderr-redirection – Tony Delroy Apr 16 '12 at 09:53