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 eryksun
Recipients Geoff.Alexander, MaximilianSP, eryksun, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-03-05.08:24:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551774271.85.0.872507647774.issue35678@roundup.psfhosted.org>
In-reply-to
Content
Geoff, we probably need a new issue for this, but first, please report the value of len(os.getcwd()) in a case where check_output() fails. 

Prior to Windows 10, the working directory is limited to MAX_PATH - 2 (258) characters. (Windows uses the last two characters internally for a trailing backslash and a terminating null.) However, even with long-path support enabled in Windows 10, CreateProcessW retains the original WINAPI limit, which I assume is because the current implementation doesn't know whether the child supports long paths. If the inherited current directory exceeds this limit, CreateProcessW fails with ERROR_INVALID_PARAMETER (87).
History
Date User Action Args
2019-03-05 08:24:31eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, MaximilianSP, Geoff.Alexander
2019-03-05 08:24:31eryksunsetmessageid: <1551774271.85.0.872507647774.issue35678@roundup.psfhosted.org>
2019-03-05 08:24:31eryksunlinkissue35678 messages
2019-03-05 08:24:31eryksuncreate