fixed double terminal output

This commit is contained in:
Penwing 2024-01-21 19:35:45 +01:00
parent c718df427a
commit 4257648e86

View file

@ -163,7 +163,7 @@ pub fn run_command(cmd : String) -> CommandEntry {
entry.command = cmd; entry.command = cmd;
entry.output = (&String::from_utf8_lossy(&output.stdout)).to_string(); entry.output = (&String::from_utf8_lossy(&output.stdout)).to_string();
entry.error = (&String::from_utf8_lossy(&output.stdout)).to_string(); entry.error = (&String::from_utf8_lossy(&output.stderr)).to_string();
entry entry
} }