diff --git a/src/cutout.py b/src/cutout.py index 6fa55a3..96cafd2 100644 --- a/src/cutout.py +++ b/src/cutout.py @@ -12,7 +12,7 @@ if __name__== '__main__': print (args[0].output) cpp = args[1] - ret = subprocess.run(cpp + [args[0].input], stdout=subprocess.PIPE) + ret = subprocess.run(cpp + [args[0].input], stdout=subprocess.PIPE, check=True) stdout = ret.stdout.decode('utf8')