diff --git a/src/process.rs b/src/process.rs index a612606..270903a 100644 --- a/src/process.rs +++ b/src/process.rs @@ -156,10 +156,12 @@ impl Process { timeout: u64, ) -> Result where - T: AsRef, + T: AsRef + std::fmt::Debug, { let command: Arc = Arc::from(String::from(command)); + tracing::debug!("{envs:?} {command} {args:?}"); + let res = tracing::trace_span!(parent: None, "Create command", %command).in_scope(|| { Self::spawn( command.clone(),