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 vstinner
Recipients vstinner
Date 2010-04-14.00:55:21
SpamBayes Score 2.0236035e-12
Marked as misclassified No
Message-id <1271206524.05.0.157551650648.issue8393@psf.upfronthosting.co.za>
In-reply-to
Content
In py3k, subprocess uses _posixsubprocess.fork_exec() function. This function uses surrogateescape error handler for most arguments, but not for the current working directory (cwd).

Attached patch uses PyUnicode_FSConverter() as done for other arguments. I don't know if PyUnicode_FSConverter() result is always a PyBytes, so I added an assertion. It should be fixed.
History
Date User Action Args
2010-04-14 00:55:24vstinnersetrecipients: + vstinner
2010-04-14 00:55:24vstinnersetmessageid: <1271206524.05.0.157551650648.issue8393@psf.upfronthosting.co.za>
2010-04-14 00:55:22vstinnerlinkissue8393 messages
2010-04-14 00:55:21vstinnercreate