Revert "Merge pull request #108 from open-source-parsers/quote-spaces"

This reverts commit dfc5f879c1, reversing
changes made to 0f6884f771.
This commit is contained in:
Christopher Dunn 2015-01-09 22:28:20 -06:00
parent 6eaf150dc7
commit 4ca9d25ccc

View File

@ -1,8 +1,8 @@
from __future__ import print_function
from glob import glob
import sys
import os
import pipes
import os.path
from glob import glob
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,
pipes.quote(input_path)))
input_path) )
process_output = pipe.read()
status = pipe.close()
if is_json_checker_test: