summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorquentin konieczko <konieczko@gmail.com>2022-10-04 07:56:12 +0200
committerquentin konieczko <konieczko@gmail.com>2022-10-04 07:56:12 +0200
commit25c43876f089552743e5c0460b64a34aed2f9e88 (patch)
treebceae55aaa50716f7e041b5f0bbae0f9c02e266f
parent6b63f665fb909027759bf557fac99deb3cc2b8ae (diff)
idea to solve exec hangs : zombies???status-refactor
-rw-r--r--src/status.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/status.rs b/src/status.rs
index 3008ae5..e0178e5 100644
--- a/src/status.rs
+++ b/src/status.rs
@@ -618,6 +618,7 @@ impl Status {
}
}
+// TODO: use [wait with output](https://doc.rust-lang.org/std/process/struct.Child.html#method.wait_with_output)
/// Execute the command in a fork.
fn execute_in_child(exe: &str, args: &Vec<&str>) -> std::process::Child {
eprintln!("exec exe {}, args {:?}", exe, args);