Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/edge/infra/client/container-runner/src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ pub fn run(
.arg("--all")
.arg(&actor_id)
.arg("SIGTERM")
.stdout(Stdio::null())
.stderr(Stdio::null())
.status();
println!("runc kill status: {:?}", status);
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ impl Setup {
pub fn signal_child(&self, signal: &str) {
let kill = Command::new("kill")
.args(["-s", signal, &self.child.id().to_string()])
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.unwrap();
assert!(kill.success());
Expand All @@ -37,6 +39,8 @@ impl Drop for Setup {
.arg("delete")
.arg("--force")
.arg(&self.actor_id)
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.unwrap();

Expand Down Expand Up @@ -64,6 +68,8 @@ pub fn setup(command: &str) -> Setup {
.arg("docker://debian:12.4")
.arg("oci:oci-image:latest")
.current_dir(actor_dir.path())
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.unwrap();
assert!(status.success());
Expand All @@ -74,6 +80,8 @@ pub fn setup(command: &str) -> Setup {
.arg("oci-image:latest")
.arg("fs")
.current_dir(actor_dir.path())
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.status()
.unwrap();
assert!(status.success());
Expand Down
Loading