Skip to content

Commit fce87eb

Browse files
authored
Merge pull request #227 from Wandalen/timeout
[timeout] full implementation, 3d iteration
2 parents 6917075 + efc2d32 commit fce87eb

File tree

8 files changed

+1071
-1
lines changed

8 files changed

+1071
-1
lines changed

Cargo.lock

Lines changed: 117 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

process/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ libc.workspace = true
1414
dirs = "5.0"
1515

1616
[dev-dependencies]
17+
sysinfo = "0.31"
1718
tokio = { version = "1.39", features = ["net", "macros", "rt"]}
1819

1920
[build-dependencies]
@@ -43,6 +44,10 @@ path = "./nohup.rs"
4344
name = "renice"
4445
path = "./renice.rs"
4546

47+
[[bin]]
48+
name = "timeout"
49+
path = "./timeout.rs"
50+
4651
[[bin]]
4752
name = "xargs"
4853
path = "./xargs.rs"

process/tests/process-tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
mod fuser;
2+
mod timeout;
23
mod xargs;

0 commit comments

Comments
 (0)