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 eryksun, hokiedsp, paul.moore, steve.dower, tim.golden, zach.ware
Date 2022-02-09.00:29:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644366558.51.0.816865997619.issue46686@roundup.psfhosted.org>
In-reply-to
Content
run_child() expects `cmdline` to be correctly quoted, and normally it is.

I can't reproduce this problem with Python 3.10.2. I created a user account with a space in the account name, logged on, and installed 3.10.2 for the current user, with the option enabled to add Python to PATH. Next I opened a command prompt in the user profile directory and created a virtual environment via `python.exe -m venv .venv`. Running ".venv\Scripts\python.exe -X utf8" worked. The command line used by the venv "python.exe" launcher was properly quoted and thus properly parsed in the original list of command-line arguments, sys.orig_argv.
History
Date User Action Args
2022-02-09 00:29:18eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, hokiedsp
2022-02-09 00:29:18eryksunsetmessageid: <1644366558.51.0.816865997619.issue46686@roundup.psfhosted.org>
2022-02-09 00:29:18eryksunlinkissue46686 messages
2022-02-09 00:29:18eryksuncreate