Are you 100% sure that "datdsade" actually writes stderr? If so, perhaps it buffers its stderr or blocks it.
EDIT: I suggest running βdatdsadeβ (your program) in bash (if you have Linux, you can dl sh.exe for Windows) and see if you can capture stderr in datdsade 2> errors.txt file. Keep in mind that if you are on a Windows stderr, it will not be displayed in the DOS window . You may be more fortunate to write to a log file and read it back, or have python to store in a variable.
Alternatively, stderr = sub.STDOUT will merge your errors with stdout.
EDIT AGAIN: Ignore the above, as the link () captures all of this. I would say that the problem is that the program you select never writes to stderr, or you are not actually causing an error. This is exactly how the program was written. What is a program?
SpliFF May 27 '09 at 6:56 a.m. 2009-05-27 06:56
source share