From f9ce5faa60357c1d27e8ee0a519538d333a93593 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sat, 30 Dec 2023 15:32:41 +0300 Subject: [PATCH] bytebeat_compiler.py: show executed command --- bytebeat_compiler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index 5075eb0..e37c986 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -161,5 +161,7 @@ if __name__ == "__main__": print("Compiling") # Let the system execute aliases by calling os.system - system(" ".join([CC, CFLAGS, INPUT_FILE, PATHS["path_to_fwrite_le"], - "-o", OUTPUT_FILE]) + command = " ".join([CC, CFLAGS, INPUT_FILE, PATHS["path_to_fwrite_le"], + "-o", OUTPUT_FILE]) + print(command) + system(command)