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 lilydjwg
Recipients asvetlov, lilydjwg, yselivanov
Date 2019-05-28.04:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559018296.22.0.867935796056.issue35246@roundup.psfhosted.org>
In-reply-to
Content
> All we need is `program = os.fspath(program)` in base_events.py subprocess_exec() method.

I don't think so. The arguments could be `pathlib.Path` too.

We can update the `isinstance(arg, (str, bytes))` check so the args pass on to `subprocess.Popen`. It will work in the POSIX part but there is an issue (issue33617, issue31961) in Windows part: subprocess.list2cmdline doesn't accept pathlib.Path.
History
Date User Action Args
2019-05-28 04:38:16lilydjwgsetrecipients: + lilydjwg, asvetlov, yselivanov
2019-05-28 04:38:16lilydjwgsetmessageid: <1559018296.22.0.867935796056.issue35246@roundup.psfhosted.org>
2019-05-28 04:38:16lilydjwglinkissue35246 messages
2019-05-28 04:38:16lilydjwgcreate