This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orenti
Recipients
Date 2007-01-07.18:09:42
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
If you duplicate INVALID_HANDLE_VALUE you get a new valid handle to nothing :-) I guess the code really should not rely on this undocumented behavior. The reason I didn't return INVALID_HANDLE_VALUE directly is because DuplicateHandle returns a _subprocess_handle object, not an int. It's expected to have a .Close() method elsewhere in the code.

Because of subtle difference between in the behavior of the _subprocess and win32api implementations of GetStdHandle in this case solving this issue this gets quite messy!
File Added: subprocess-noconsole2.patch
History
Date User Action Args
2007-08-23 14:50:21adminlinkissue1603907 messages
2007-08-23 14:50:21admincreate