diff --git a/crates/rattler_shell/src/shell/mod.rs b/crates/rattler_shell/src/shell/mod.rs index 6ff7a7a1a..17b1a734c 100644 --- a/crates/rattler_shell/src/shell/mod.rs +++ b/crates/rattler_shell/src/shell/mod.rs @@ -47,7 +47,7 @@ pub trait Shell { f: &mut impl Write, command: impl IntoIterator + 'a, ) -> std::fmt::Result { - write!(f, "{}", command.into_iter().join(" ")) + writeln!(f, "{}", command.into_iter().join(" ")) } /// Set the PATH variable to the given paths. @@ -311,7 +311,7 @@ impl Shell for CmdExe { f: &mut impl Write, command: impl IntoIterator + 'a, ) -> std::fmt::Result { - write!(f, "@{}", command.into_iter().join(" ")) + writeln!(f, "@{}", command.into_iter().join(" ")) } fn extension(&self) -> &str {