mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-20 22:39:03 +00:00
Spawn windows in an cmd terminal. Should be working now, but not sure on my system
This commit is contained in:
8
run.py
8
run.py
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user