feat: Listen for ctrl-c

before ctrl-c would not cancel a running job.
This commit is contained in:
andy.boot
2024-03-14 21:14:02 +00:00
parent 0364cf781e
commit b54a215805
5 changed files with 99 additions and 50 deletions
+1
View File
@@ -73,6 +73,7 @@ pub struct RuntimeErrors {
pub no_permissions: bool,
pub file_not_found: HashSet<String>,
pub unknown_error: HashSet<String>,
pub abort: bool,
}
/* -------------------------------------------------------------------------- */