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 dhimmel
Recipients Matthijs Kooijman, Sworddragon, bbayles, cheryl.sabella, dhimmel, p-ganssle, r.david.murray, roippi, vinay.sajip
Date 2019-09-06.14:43:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567781028.68.0.933694582784.issue22454@roundup.psfhosted.org>
In-reply-to
Content
I am interested in shlex.join as a way to log subprocess.CompletedProcess.args as a string that users could run in their terminals. I initially assumed that this was also the scope of shlex.join. However, it seems that shlex.join does not accept all types of command arguments supported by subprocess, such as pathlib.Path objects. Should shlex.join support an split_command list that includes pathlib.Path objects and any other types supported by subprocess?
History
Date User Action Args
2019-09-06 14:43:48dhimmelsetrecipients: + dhimmel, vinay.sajip, r.david.murray, Sworddragon, roippi, p-ganssle, cheryl.sabella, bbayles, Matthijs Kooijman
2019-09-06 14:43:48dhimmelsetmessageid: <1567781028.68.0.933694582784.issue22454@roundup.psfhosted.org>
2019-09-06 14:43:48dhimmellinkissue22454 messages
2019-09-06 14:43:48dhimmelcreate