Skip to content

Commit e8f64c6

Browse files
authored
clean restarts of jobs on windows (#42)
* process-wrap * expand glob * Update run.rs * disable process group process wrap on unix
1 parent 0e3dbd9 commit e8f64c6

File tree

4 files changed

+309
-24
lines changed

4 files changed

+309
-24
lines changed

Cargo.lock

Lines changed: 255 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ colored = "2.1.0"
2323
dirs-next = "2.0.0"
2424
folktime = "0.2.1"
2525
prettytable-rs = "0.10.0"
26+
process-wrap = { version = "8.0.2", features = ["tokio1"] }
2627
serde = { version = "1.0.210", features = ["derive"] }
2728
serde_json = "1.0.128"
2829
tokio = { version = "1.40.0", features = [

src/job/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
1111
use std::{collections::HashMap, path::PathBuf};
1212
use tokio::{
1313
io::{AsyncBufReadExt, BufReader, Lines},
14-
process::{ChildStderr, ChildStdout, Command},
14+
process::{ChildStderr, ChildStdout},
1515
sync::mpsc::Receiver,
1616
};
1717

0 commit comments

Comments
 (0)