meson: error out in script if gperf preprocessing failed

This commit is contained in:
Tim-Philipp Müller 2020-12-31 15:04:10 +00:00 committed by Akira TAGOH
parent b7e4931582
commit 4b142e9241
1 changed files with 1 additions and 1 deletions

View File

@ -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')