diff options
author | Mario Krehl <mkrehl@science-computing.de> | 2016-09-07 12:53:38 +0200 |
---|---|---|
committer | Mario Krehl <mkrehl@science-computing.de> | 2016-09-07 12:53:38 +0200 |
commit | e2d3e5597bbfb64b337de207eb0af67922ab62f4 (patch) | |
tree | 3f21a82353c813e9ae8ee3120918a06020dd509e /bin | |
parent | e813ab9e3a58c67e7322dd4c74d8b49ac162a569 (diff) |
Fix differing amount of newlines from subprocesses influences output
Diffstat (limited to 'bin')
-rw-r--r-- | bin/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs index 70aaf5d0..afe37cbb 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs @@ -169,7 +169,8 @@ fn main() { } for versionstring in result.into_iter().map(|handle| handle.join()) { - print!("{}", versionstring); + // The amount of newlines may differ depending on the subprocess + println!("{}", versionstring.trim()); } } |