diff --git a/cuddle_cli/src/actions/shell.rs b/cuddle_cli/src/actions/shell.rs index 45c1df1..36ed98a 100644 --- a/cuddle_cli/src/actions/shell.rs +++ b/cuddle_cli/src/actions/shell.rs @@ -28,18 +28,18 @@ Starting running shell action: {} let mut process = Command::new(self.path) .current_dir(".") - .stdout(Stdio::piped()) - .stderr(Stdio::piped()) + //.stdout(Stdio::piped()) + //.stderr(Stdio::piped()) .spawn()?; - { - let stdout = process.stdout.as_mut().unwrap(); - let stdout_reader = BufReader::new(stdout); - let mut stdout_lines = stdout_reader.lines(); - while let Some(Ok(line)) = stdout_lines.next() { - log::info!(process=log::as_display!(self.name); "{}", line) - } - } + //{ + // let stdout = process.stdout.as_mut().unwrap(); + // let stdout_reader = BufReader::new(stdout); + // let mut stdout_lines = stdout_reader.lines(); + // while let Some(Ok(line)) = stdout_lines.next() { + // log::info!("{}", line); + // } + //} process.wait()?; diff --git a/cuddle_cli/src/context.rs b/cuddle_cli/src/context.rs index bfa5518..27015eb 100644 --- a/cuddle_cli/src/context.rs +++ b/cuddle_cli/src/context.rs @@ -23,12 +23,14 @@ pub fn extract_cuddle(config: CuddleConfig) -> anyhow::Result