Op zaterdag 12 april 2008, schreef Wilbert Berendsen:
> I'm currently trying to combine subprocess.Popen with pty.openpty ...
which succeeded :-)
http://code.google.com/p/lilykde/source/browse/trunk/runpty.py?r=314
it seems to work :-)
thanks,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
Op vrijdag 11 april 2008, schreef Donn Cave:
> More likely, you want the spawned process' error output to go wherever
> the parent's error output was going. This is a little trickier.
I ended up writing a small script that basically reimplements fork() from the
pty module, where then STDERR is n
In article <[EMAIL PROTECTED]>,
Wilbert Berendsen <[EMAIL PROTECTED]> wrote:
> 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?
There is, of course.
Firs