aboutsummaryrefslogtreecommitdiffstats
path: root/__run__.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-02-04 11:37:15 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-02-04 15:51:26 +0000
commita96a5e8397b465f556c5a10274a4c7248e737fbf (patch)
tree419cf1ab0f3de4e62e6046628e4d7bb34765f22c /__run__.py
parentf57c793a07e86c1659b2f5c6b49b93f5007c139c (diff)
downloadsos-a96a5e8397b465f556c5a10274a4c7248e737fbf.tar.gz
Ensure unused fds are closed when calling subprocesses via Popen
When sos communicates with a child process using Popen all IO takes place on stdin/stdout/stderr (or a subset). No other open file descriptors should be inherited by the child. Make all calls to Popen set close_fds=True. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to '__run__.py')
0 files changed, 0 insertions, 0 deletions