On 05Apr2013 16:36, Chris Rebert <c...@rebertia.com> wrote: | No need for third-party code, just use the std lib: | http://docs.python.org/2/library/pipes.html#pipes.quote | http://docs.python.org/3/library/shlex.html#shlex.quote
Ah, handy. I must say its quote quoting is kind of verbose, though. | (But yeah, best of all is to just use `subprocess` with shell=False.) Cheers, -- Cameron Simpson <c...@zip.com.au> Plague, Famine, Pestilence, and C++ stalk the land. We're doomed! Doomed! - Simon E Spero -- http://mail.python.org/mailman/listinfo/python-list