summaryrefslogtreecommitdiff
path: root/astroid
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-11-17 09:30:54 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2019-11-17 09:30:54 +0100
commit060fc2fd30dbcf8b59b8fa7d37fd9a9311af0572 (patch)
tree21310b1819ac93e4875d6153d418e821dc79707a /astroid
parent41901134e09d9ec67df6e8479bd6718e8d9fd129 (diff)
downloadastroid-git-060fc2fd30dbcf8b59b8fa7d37fd9a9311af0572.tar.gz
Add more supported parameters to ``subprocess.check_output``
Close #722
Diffstat (limited to 'astroid')
-rw-r--r--astroid/brain/brain_subprocess.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/astroid/brain/brain_subprocess.py b/astroid/brain/brain_subprocess.py
index 78e0ba42..72f4b461 100644
--- a/astroid/brain/brain_subprocess.py
+++ b/astroid/brain/brain_subprocess.py
@@ -70,7 +70,11 @@ def _subprocess_transform():
universal_newlines=False,
timeout=None,
env=None,
- text=None
+ text=None,
+ restore_signals=True,
+ preexec_fn=None,
+ pass_fds=(),
+ start_new_session=False
):
""".strip()
else:
@@ -85,7 +89,11 @@ def _subprocess_transform():
errors=None,
universal_newlines=False,
timeout=None,
- env=None
+ env=None,
+ restore_signals=True,
+ preexec_fn=None,
+ pass_fds=(),
+ start_new_session=False
):
""".strip()