mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dont redirect stdoutstderr to NUL if it is a tty
This commit is contained in:
parent
a982b67af0
commit
bd80269072
@ -116,7 +116,9 @@ setup_streams() {
|
||||
}
|
||||
|
||||
|
||||
void redirect_out_stream(FILE *stream) {
|
||||
void
|
||||
redirect_out_stream(FILE *stream) {
|
||||
if (_isatty(_fileno(stream))) return;
|
||||
FILE *f = NULL;
|
||||
errno_t err;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user