Spawn windows in an cmd terminal. Should be working now, but not sure on my system

This commit is contained in:
Jaret Burkett
2025-02-24 08:54:56 -07:00
parent 093f14ac19
commit 440ba5fb3d
6 changed files with 78 additions and 19 deletions

8
run.py
View File

@@ -95,6 +95,14 @@ def main():
if not args.recover:
print_end_message(jobs_completed, jobs_failed)
raise e
except KeyboardInterrupt as e:
try:
job.process[0].on_error(e)
except Exception as e2:
print_acc(f"Error running on_error: {e2}")
if not args.recover:
print_end_message(jobs_completed, jobs_failed)
raise e
if __name__ == '__main__':