On 7 ene, 17:37, "Fuzzyman" <[EMAIL PROTECTED]> wrote:
> Two threads and a queue sounds horrible.
But unfortunately it's the only way if you don't control how the child
process behaves.
(It's not s ugly afterwards... certainly would be worse if you had
to syncronize both reading threads and t
Gabriel Genellina wrote:
> On 7 ene, 16:33, "Fuzzyman" <[EMAIL PROTECTED]> wrote:
[snip..]
> > My current code works, but *doesn't* capture stderr :
> >
> > from threading import Thread
> >
> > pipe = os.popen(executable)
> >
> > def DisplayOutput():
> > while True:
> > output = pipe.r
On 7 ene, 16:33, "Fuzzyman" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Before I ask the question a couple of notes :
>
> * This question is for implementing a script inside the Wing IDE. For
> some reason using the subprocess module doesn't work so I need a
> solution that doesn't use this modul
Hello all,
Before I ask the question a couple of notes :
* This question is for implementing a script inside the Wing IDE. For
some reason using the subprocess module doesn't work so I need a
solution that doesn't use this module.
* The platform is Windows and I'm happy with a Windoze only soluti