BUG pythonw vs subprocess

Tim Roberts timr at probo.com
Wed Jun 1 18:06:47 EDT 2005


Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:
>
>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.

Exactly right.  The error message is quite accurate: non-console Win32 apps
don't have stdin and stdout.  The handles are invalid.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list