Skip to content
Myr

Clarifying comments

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

authored by Max Triano · committed by David Peter · parent 394e967 · Browse files · 2 files+3 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

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:src/exec/command.rs+2 added-1 removed
11 unmodified lines
12 // Spawn the supplied command.13 if is_multithread {14 output = cmd.output();15 } else {16 // This sort of works:16 // If running on only one thread, don't buffer output17 // Allows for viewing and interacting with intermediate command output18 let child = cmd.spawn().expect("Failed to execute command");19 output = child.wait_with_output();20 }21
29 unmodified lines
modified:src/walk.rs+1 added
168 unmodified lines
169 let wants_to_quit = Arc::clone(wants_to_quit);170171 let show_filesystem_errors = config.show_filesystem_errors;172 let threads = config.threads;173 // This will be used to check if output should be buffered when only running a single thread174 let is_multithread: bool = if threads > 1 {175 true176 } else {177 false
315 unmodified lines