From 71c1232fa4d28ff9adc3cc459f1ed0bade56da27 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 10 May 2017 21:56:42 +0530 Subject: [PATCH] Ensure multitail building does not assume tty --- setup/installers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/installers.py b/setup/installers.py index 8b1c22ec2d..3d719e7ddd 100644 --- a/setup/installers.py +++ b/setup/installers.py @@ -21,6 +21,8 @@ def build_single(which, bitness, shutdown=True): if bitness: cmd.append(bitness) cmd.append('calibre') + if not sys.stdout.isatty(): + cmd.append('--no-tty') cmd.append('--sign-installers') env = os.environ.copy() env['CALIBRE_SRC_DIR'] = base