Set binary mode on stdin and stdout too
On Windows, stdin and stdout are opened in text mode. We need to reopen them in binary mode in case users are piping compressed data around.
Loading
Please register or sign in to comment
On Windows, stdin and stdout are opened in text mode. We need to reopen them in binary mode in case users are piping compressed data around.