Selaa lähdekoodia

Quote the python executable name when running the Boost.Build tests

[SVN r61917]
Steven Watanabe 16 vuotta sitten
vanhempi
sitoutus
d7f8259bd3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tools/regression/src/regression.py

+ 1 - 1
tools/regression/src/regression.py

@@ -362,7 +362,7 @@ class runner:
                 bjam_path = os.path.dirname (self.tool_path( self.bjam ))
                 self.log( "Using bjam binary in '%s'" % (bjam_path))
                 os.putenv('PATH', bjam_path + os.pathsep + os.environ['PATH'])
-                utils.system ( [ "%s test_all.py --default-bjam --xml %s > %s" % (sys.executable, t, fn) ] )
+                utils.system ( [ '"%s" test_all.py --default-bjam --xml %s > %s' % (sys.executable, t, fn) ] )
             finally:
                 os.chdir( cd )
                             

粤ICP备19079148号