From d4b9a3887b1e2f00a1c85eecc582612fc6b965e8 Mon Sep 17 00:00:00 2001 From: zaCade Date: Wed, 8 Aug 2018 17:09:08 +0200 Subject: [PATCH] compile-all.py -> exit on error --- compile-all.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compile-all.py b/compile-all.py index c45c64e0..40e034c6 100755 --- a/compile-all.py +++ b/compile-all.py @@ -38,7 +38,9 @@ if __name__ == "__main__": Compiler.append("-o" + OutPath) try: - subprocess.call(Compiler) + err = subprocess.call(Compiler) + if err: + raise Exception() except Exception: sys.exit(1)