Skip to content

Commit

Permalink
quote spaces in commands for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunn2001 committed Jan 10, 2015
1 parent 4ca9d25 commit d98b5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runjsontests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d98b5f4

Please sign in to comment.