[Python-3000] Windows gui vs. console

Christian Heimes lists at cheimes.de
Fri Feb 8 18:25:54 CET 2008


Facundo Batista wrote:
> When the process is issued as a Service, it don't even HAS
> stdin/stdout (not that is redirected to NUL). It don't even exist.

GUI apps don't have standard streams stdin, stdout and stderr, too. The
variables are defined when the code is compiled but during runtime the
streams are not connected fileno(stdout) is -1.

Christian



More information about the Python-3000 mailing list