Georg Brandl <georg at python.org> added the comment: Putting quote() into shlex sounds good to me. ---------- nosy: +georg.brandl _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue9723> _______________________________________