diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-12-31 15:04:10 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2021-01-15 11:34:43 +0000 |
commit | 4b142e924131043bd4ea4629b9e4c23175e55daf (patch) | |
tree | 248a1df7756e346d62d252d06c5865e5e2ce4ef8 | |
parent | b7e49315827f434eba1f2683dca1313110a4d21b (diff) |
meson: error out in script if gperf preprocessing failed
-rw-r--r-- | src/cutout.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |