BUG pythonw vs subprocess
timr at probo.com
Sun Jun 5 07:42:34 CEST 2005
Robin Becker <robin at SPAMREMOVEjessikat.fsnet.co.uk> wrote:
>John J. Lee wrote:
>> Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
>>>I thought pythonw didn't provide a console and so it could be that
>>>stdin and stdout aren't connected to anything. Popen therefore doesn't
>>>make sense. You have to use sockets or something.
>> Yeah... I don't know about module subprocess, but I recall there's a
>> known bug where pythonw actually crashes on win9x when you write to
>> sys.stdout, since it's not connected to anything...
>So then it's not possible to get pythonw apps eg tkinter guis to use
>subprocess properly? Seems a bit daft to me.
There's no absolute requirement that a tkinter app use pythonw. If you
call them with python.exe, they'll get a stdin and stdout.
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list