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 xiang.zhang
Recipients klo.uo, xiang.zhang
Date 2016-07-05.16:08:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467734899.71.0.333016303296.issue27457@psf.upfronthosting.co.za>
In-reply-to
Content
Doesn't this the expected behaviour of shlex.quote, return a shell-escaped version of the string s? If && is not quoted, how about "pwd && rm -rf ~"? I think in your case there is no need to use shlex.quote.
History
Date User Action Args
2016-07-05 16:08:19xiang.zhangsetrecipients: + xiang.zhang, klo.uo
2016-07-05 16:08:19xiang.zhangsetmessageid: <1467734899.71.0.333016303296.issue27457@psf.upfronthosting.co.za>
2016-07-05 16:08:19xiang.zhanglinkissue27457 messages
2016-07-05 16:08:19xiang.zhangcreate