[stdlib-sig] quoting arguments for command-line evaluation

Éric Araujo merwok at netwok.org
Tue May 25 12:16:58 CEST 2010


> In my case, I was building up a command line to pass as a single string
> to subprocess, and needed a way to quote the args explicitly.  That's
> why I went looking at this.
FYI, if you need the reverse operation (string → list), look at shlex.

Cheers


More information about the stdlib-sig mailing list