diff --git a/contrib/procbot.py b/contrib/procbot.py index b256d26..dc18f23 100755 --- a/contrib/procbot.py +++ b/contrib/procbot.py @@ -23,7 +23,7 @@ class Runner(async_proc.process_dispatcher): def esc(arg): "Shell-escape an argument" - return "'" + arg.replace("'", "'\''") + "'" + return "'" + arg.replace("'", "'\\''") + "'" def lesc(args):