[Python-Dev] Strange behavior of subprocess.Popen._get_handles under Windows

Alexey Borzenkov snaury at gmail.com
Thu Aug 23 08:21:01 CEST 2007


>     C:\>1.py
>     hStdOut: 00000007
>     Something
>
>     C:\>1.py>1.txt
>     hStdOut: 00000004
>
>     (1.txt file is now completely empty, i.e. hStdOut is invalid)

Hmm, now I see that maybe that's where I was wrong. When I used
`python 1.py>1.txt' it suddenly started working as expected. :-/ Must
be some strange difference with how HKCR entries are parsed and then
executed...

Best regards,
Alexey.


More information about the Python-Dev mailing list