aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-02 15:26:51 -0500
committerJack Lloyd <[email protected]>2018-03-02 15:26:51 -0500
commit537833f1bef3757adb7d12b5f27a2fa1b8d994b1 (patch)
treeb1ecc58d05ae77fd3ad30db0699c84ad877fec2e /src/scripts
parentcca214ff3bfade7211676d018f51f7d803029b77 (diff)
Avoid close_fds=True in build_docs
GH #1456
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/build_docs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/build_docs.py b/src/scripts/build_docs.py
index df99ba9c3..0912ea1cf 100755
--- a/src/scripts/build_docs.py
+++ b/src/scripts/build_docs.py
@@ -59,7 +59,6 @@ def run_and_check(cmd_line, cwd=None):
try:
proc = subprocess.Popen(cmd_line,
- close_fds=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
cwd=cwd)
@@ -75,6 +74,8 @@ def run_and_check(cmd_line, cwd=None):
logging.debug(stderr.decode())
if proc.returncode != 0:
+ logging.info(stdout.decode())
+ logging.info(stderr.decode())
logging.error("Error running %s", ' '.join(cmd_line))
sys.exit(1)