cmark
My personal build of CMark ✏️
- Commit
- 100c27759aa1906a39791292539832529e2cae5c
- Parent
- 677a22519a212093438f4e5a08d79f9c74013488
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
runtests.py: split argument of '--program' so that options can be given.
e.g.
--program 'myprog --simple --foo=bar'
Diffstat
1 file changed, 1 insertion, 1 deletion
Status |
File Name |
N° Changes |
Insertions |
Deletions |
Modified |
runtests.py |
2 |
1 |
1 |
diff --git 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: