Skip to content
Myr

Fix execute_command on Unix

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matthias Reitinger · committed by David Peter · parent 355a171 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/exec/command.rs+1 added-1 removed
83 unmodified lines
84 Ok(mut child) => {85 let _ = child.wait();8687 // Create a lock to ensure that this thread has exclusive access to writing.88 let _lock = self.out_perm.lock().unwrap();88 let _lock = out_perm.lock().unwrap();8990 // And then write the outputs of the process until EOF is sent to each file.91 let stdout = io::stdout();92 let stderr = io::stderr();
6 unmodified lines