Skip to content

Commit

Permalink
Merge pull request #2935 from MRtrix3/fix_progressbar_when_piping
Browse files Browse the repository at this point in the history
ProgressBar: Simple update method where stderr is pipe
  • Loading branch information
jdtournier authored Jun 27, 2024
2 parents a53279c + a63d6fa commit 5c788a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/progressbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ namespace MR
// unable to determine nature of stderr; assuming socket
stderr_to_file = false;
else
stderr_to_file = S_ISREG (buf.st_mode);
stderr_to_file = S_ISREG (buf.st_mode) || S_ISFIFO (buf.st_mode);



Expand Down

0 comments on commit 5c788a7

Please sign in to comment.