Xiang Zhang added the comment:

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.

----------
nosy: +xiang.zhang

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to