Pass list instead of single command to subprocess

This commit is contained in:
Joost Rijneveld 2019-04-10 16:37:02 +02:00
parent 280bc60b1b
commit 03eb577a40
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -17,7 +17,7 @@ def test_common():
primitive = re.sub(r"\.c$", "", d) primitive = re.sub(r"\.c$", "", d)
binname = os.path.join('..', 'bin', 'test_'+primitive) binname = os.path.join('..', 'bin', 'test_'+primitive)
helpers.make(binname) helpers.make(binname)
helpers.run_subprocess(binname) helpers.run_subprocess([binname])
if __name__ == '__main__': if __name__ == '__main__':