diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index 873c73e..206a745 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -3,7 +3,7 @@ from argparse import ArgumentParser from os import system, environ, makedirs from os.path import exists, join as path_join -from sys import stdin +from sys import stdin, exit from typing import Dict, Union import subprocess @@ -230,4 +230,4 @@ if __name__ == "__main__": command = " ".join([CC, CFLAGS, INPUT_FILE, PATHS["fwrite_le"], "-o", OUTPUT_FILE]) print(command, flush=True) - system(command) + exit(system(command))