Skip to content

Commit

Permalink
Merge pull request #108 from open-source-parsers/quote-spaces
Browse files Browse the repository at this point in the history
quote cmdline arg
  • Loading branch information
cdunn2001 committed Jan 6, 2015
2 parents 0f6884f + 1a4dc3a commit dfc5f87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runjsontests.py
Original file line number Diff line number Diff line change
@@ -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 '
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit dfc5f87

Please sign in to comment.