Add debian_frontend flag
Tests / Run-Tests (push) Failing after 2s Details

multiline-output
drunkendog 2023-09-14 18:58:12 +01:00
parent 291bd52264
commit a86bd90aba
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ if sys.platform == "win32":
exit_code = 0
for file_name in glob.glob("*.c", recursive=False):
if file_name.rstrip(".c") in file_only_list:
should_continue = input(f"{file_name}; run (y/N)? ").lower()
should_continue = "y" if os.getenv("DEBIAN_FRONTEND") == "noninteractive" else input(f"{file_name}; run (y/N)? ").lower()
if should_continue != "y":
continue
subprocess.run(["gcc", "-o", "a.out", "-std=c11", "-Wall", "-g", file_name], check=True)