Matthias Vogelgesang
2/23/2008 2:44:00 PM
Hi,
Miki wrote:
> The current "official" module to use is subprocess (pipe =
> Popen([client], stdout=PIPE))
> However if the client is sending data, reading from the pipe.stdout
> will block the server.
> If you *need* to wait, then you can use pipe.wait(), otherwise do as
> Diez suggested and have a thread
> read the client output and propagate it to the main loop (maybe using
> Queue.Queue)
Thanks both of you for your explanations. In fact, it did the trick.
--
Matthias