stdin/stdout fileno() always returning -1 from windows service

chuck cmedcoff at hotmail.com
Mon Jul 18 10:37:16 EDT 2005


Interesting.  The stdin and stdout objects in my service seems respond
to returing a string for the statements str(sys.stdin) and
str(sys.stdout).  I guess they are just not attached to files?

Can you provide a reference (MSDN or otherwise) that indicates that
Windows Services don't have standard I/O?




More information about the Python-list mailing list