https://bugs.winehq.org/show_bug.cgi?id=51813 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #2 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 71237 --> https://bugs.winehq.org/attachment.cgi?id=71237 Workaround for redirection at linux side. As far as I see does python query GetFileType for the handle from stdin which returns in the redirected case FILE_TYPE_DISK. Therefore it looks like python calls GetFileInformationByHandle and expects this to succeed. In the case of a redirection created by cmd in native or wine this works as expected. But GetFileInformationByHandle fails if the redirection is done at linux side because fd->unix_name gets not set. Attached patch should demonstrate the issue and possible workaround. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.