mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 04:13:07 +02:00
Dont redirect stdoutstderr to NUL if it is a tty
This commit is contained in:
parent
a982b67af0
commit
bd80269072
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue