BUG pythonw vs subprocess

Robin Becker robin at reportlab.com
Thu Jun 2 11:26:54 CEST 2005

Paul Rubin 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.

Well my example is explicitly using PIPE for stderr & stdin, but I don't know 
how to tell it to ignore stdin. The value None seems to be used to signal that 
the existing stdin is used and that fails. I believe the solution is just to use 
PIPE for stdin as well and then I don't have to write to it.
Robin Becker

More information about the Python-list mailing list