Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Actively tail worker stdio from supervisor agent #588

Merged
17 commits merged into from
Feb 26, 2021
Merged
4 changes: 1 addition & 3 deletions src/agent/onefuzz-supervisor/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use std::{
path::{Path, PathBuf},
process::{Child, Command, Stdio},
process::{Child, Command},
};

use anyhow::{Context as AnyhowContext, Result};
Expand Down Expand Up @@ -228,8 +228,6 @@ impl IWorkerRunner for WorkerRunner {
cmd.arg("managed");
cmd.arg("config.json");
cmd.arg(setup_dir);
cmd.stderr(Stdio::piped());
cmd.stdout(Stdio::piped());
ranweiler marked this conversation as resolved.
Show resolved Hide resolved

let child = cmd.spawn().context("onefuzz-agent failed to start")?;
let child = Box::new(child);
Expand Down