summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest.py b/runtest.py
index f99f5a1..a3cf016 100644
--- a/runtest.py
+++ b/runtest.py
@@ -302,6 +302,7 @@ _ws = re.compile('\s')
def escape(s):
if _ws.search(s):
s = '"' + s + '"'
+ s = string.replace(s, '\\', '\\\\')
return s
# Set up lowest-common-denominator spawning of a process on both Windows