From 100c27759aa1906a39791292539832529e2cae5c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 27 Nov 2014 11:20:59 -0800 Subject: runtests.py: split argument of '--program' so that options can be given. e.g. --program 'myprog --simple --foo=bar' --- runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 601508d..92feeed 100755 --- a/runtests.py +++ b/runtests.py @@ -55,7 +55,7 @@ if not (args.program or args.dump_tests or args.debug_normalization): def md2html(text, prog): if prog: - p1 = Popen([prog], stdout=PIPE, stdin=PIPE, stderr=PIPE) + p1 = Popen(prog.split(), stdout=PIPE, stdin=PIPE, stderr=PIPE) [result, err] = p1.communicate(input=text) return [p1.returncode, result, err] else: -- cgit v1.2.3