We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7d909 commit 47454a7Copy full SHA for 47454a7
src/tox/venv.py
@@ -1,6 +1,7 @@
1
import ast
2
import codecs
3
import os
4
+import pipes
5
import re
6
import sys
7
@@ -361,7 +362,9 @@ def test(self, redirect=False):
361
362
for i, argv in enumerate(self.envconfig.commands):
363
# have to make strings as _pcall changes argv[0] to a local()
364
# happens if the same environment is invoked twice
- message = "commands[{}] | {}".format(i, " ".join([str(x) for x in argv]))
365
+ message = "commands[{}] | {}".format(
366
+ i, " ".join([pipes.quote(str(x)) for x in argv])
367
+ )
368
action.setactivity("runtests", message)
369
# check to see if we need to ignore the return code
370
# if so, we need to alter the command line arguments
0 commit comments