Closed duzenko closed 1 month ago
It works everywhere else. This is a bug in MinGW's implementation of isatty()
. See https://github.com/mintty/mintty/issues/56
You should be able to workaround the MinGW bug by providing an option on the command line, really any option (except -h
). -c
would be a good one, since pigz would be writing the output to stdout anyway. --
should work as well.
FWIW -c
fails with pigz: abort: trying to write compressed data to a terminal (use -f to force)
-cf
does work
OTOH why does gzip work even with the bug? Does MINGW ship their own custom version of gzip?
Thanks for the info. I'm glad you got it to work.
I'm seeing the same usage of isatty()
in the gzip source code, so I don't know why it works in this case.
The help message says "pigz does what gzip does" but on MINGW64 it's not the case
It does not seem to pick up input from a pipe