Sanitising arguments to shell commands

Ben Finney ben+python at benfinney.id.au
Fri Aug 21 18:55:11 EDT 2009


Rick King <rickbking at comcast.net> writes:

> shlex doesn't handle unicode input though, so, in general, it's not a
> good solution.

Argh. Is there a Python bug tracker number for fixing that? Or is there
a better solution?

-- 
 \         “Pinky, are you pondering what I'm pondering?” “I think so, |
  `\   Brain, but if we have nothing to fear but fear itself, why does |
_o__) Elanore Roosevelt wear that spooky mask?” —_Pinky and The Brain_ |
Ben Finney



More information about the Python-list mailing list