multiline-output
drunkendog 2023-09-12 13:31:53 +01:00
parent a2ba458c54
commit 4e8e361fda
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if sys.platform == "win32":
for file_name in glob.glob("*.c", recursive=False): for file_name in glob.glob("*.c", recursive=False):
if file_name.rstrip(".c") in file_only_list: if file_name.rstrip(".c") in file_only_list:
should_continue = input(f"{file_name}; run (y/N)?").lower() should_continue = input(f"{file_name}; run (y/N)?").lower()
if should_continue is not "y": if should_continue != "y":
continue continue
subprocess.run(["gcc", "-std=c11", "-Wall", "-g", file_name], check=True) subprocess.run(["gcc", "-std=c11", "-Wall", "-g", file_name], check=True)
with open(next(x for x in file_list if file_name in x)) as f: with open(next(x for x in file_list if file_name in x)) as f: