Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix(src/timeoutcmd.rs): say stderr, instead of stdout
Lars Wirzenius committed 1 year ago
commit fda28dbaae66053e344f0dd39a35f025f5266164
parent 7a754fe10481622057bf46498962757d064895d2
1 file changed +1 -1
modified src/timeoutcmd.rs
@@ -138,7 +138,7 @@ impl TimeoutCommand {
            spawn(move || NonBlockingReader::new("stdout", stdout, stdout_lines_tx).read_to_end());
        let stdout_lines = LineReceiver::new("stdout", stdout_lines_rx, stdout_termination_rx);

-
        // Set up thread to capture child stdout.
+
        // Set up thread to capture child stderr.
        let stderr = child.stderr.take().ok_or(TimeoutError::TakeStderr)?;
        let (stderr_termination_tx, stderr_termination_rx) = sync_channel(1);
        let (stderr_lines_tx, stderr_lines_rx) = sync_channel(MAX_OUTPUT_BYTES);