pty.spawn directs stderr to stdout

Wilbert Berendsen wbsoft at xs4all.nl
Fri Apr 11 08:31:04 CEST 2008


Hi,

using pty.spawn() it seems that stderr output of the spawned process is 
directed to stdout. Is there a way to keep stderr separate and only direct 
stdin and stdout to the pty?

TIA,
w best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
        -- Mahatma Gandhi



More information about the Python-list mailing list