From d98b5f4230bf84d6282ca635eedebc2e1e0822dc Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Fri, 9 Jan 2015 22:32:10 -0600 Subject: [PATCH] quote spaces in commands for Windows See comments at: https://github.com/open-source-parsers/jsoncpp/commit/1a4dc3a888c7e6e179503250ccb391820a586b1b --- test/runjsontests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runjsontests.py b/test/runjsontests.py index a1f6082..9422d57 100644 --- a/test/runjsontests.py +++ b/test/runjsontests.py @@ -54,7 +54,7 @@ def runAllTests( jsontest_executable_path, input_dir = None, is_json_checker_test = (input_path in test_jsonchecker) or expect_failure print('TESTING:', input_path, end=' ') options = is_json_checker_test and '--json-checker' or '' - pipe = os.popen( "%s%s %s %s" % ( + pipe = os.popen( '%s%s %s "%s"' % ( valgrind_path, jsontest_executable_path, options, input_path) ) process_output = pipe.read()