mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-13 10:22:55 +01:00
Merge pull request #108 from open-source-parsers/quote-spaces
quote cmdline arg
This commit is contained in:
commit
dfc5f879c1
@ -1,8 +1,8 @@
|
||||
from __future__ import print_function
|
||||
from glob import glob
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
from glob import glob
|
||||
import pipes
|
||||
import optparse
|
||||
|
||||
VALGRIND_CMD = 'valgrind --tool=memcheck --leak-check=yes --undef-value-errors=yes '
|
||||
@ -56,7 +56,7 @@ def runAllTests( jsontest_executable_path, input_dir = None,
|
||||
options = is_json_checker_test and '--json-checker' or ''
|
||||
pipe = os.popen( "%s%s %s %s" % (
|
||||
valgrind_path, jsontest_executable_path, options,
|
||||
input_path) )
|
||||
pipes.quote(input_path)))
|
||||
process_output = pipe.read()
|
||||
status = pipe.close()
|
||||
if is_json_checker_test:
|
||||
|
Loading…
Reference in New Issue
Block a user