update schema to include variables

This commit is contained in:
2022-08-10 23:31:07 +02:00
parent 60398bbb2e
commit 91072cc4e6
3 changed files with 35 additions and 14 deletions

View File

@@ -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()?;