From 4b142e924131043bd4ea4629b9e4c23175e55daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 31 Dec 2020 15:04:10 +0000 Subject: [PATCH] meson: error out in script if gperf preprocessing failed --- src/cutout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')