# HG changeset patch # User Paul Boddie # Date 1401227035 -7200 # Node ID 2e2fcefcc5ae87bfee9529991b2b5bcef93b679c # Parent 96f5b2a1fe8ec712467308b2e3642e2e4ba7e439 Added close_fds usage for XSLT processor subprocesses. diff -r 96f5b2a1fe8e -r 2e2fcefcc5ae parsers/graphviz.py --- a/parsers/graphviz.py Mon Dec 16 23:48:33 2013 +0100 +++ b/parsers/graphviz.py Tue May 27 23:43:55 2014 +0200 @@ -4,7 +4,7 @@ Based loosely on GNUPLOT parser by MoinMoin:KwonChanYoung @copyright: 2008 Wayne Tucker - @copyright: 2011, 2012, 2013 Paul Boddie + @copyright: 2011, 2012, 2013, 2014 Paul Boddie @copyright: 2012 Frederick Capovilla (Libéo) @license: GNU GPL, see COPYING for details. """ @@ -305,7 +305,8 @@ shell=False, stdin=process.stdout, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=subprocess.PIPE, + close_fds=True) else: logging.warn('XSLT processor not found at %s' % XSLT_PROCESSOR)