summaryrefslogtreecommitdiff
path: root/pexpect
diff options
context:
space:
mode:
authorzjx20 <zhoujianxiong2@gmail.com>2014-10-21 09:16:16 +0800
committerzjx20 <zhoujianxiong2@gmail.com>2014-10-21 09:16:16 +0800
commita41905ef6885b07c0abfd9daca27ebbe7ce90910 (patch)
tree549ac5597b7d55b8c60793eb91f60a6c50dd2893 /pexpect
parent184f9c4c6fb9e7033755449812b6532843e356a9 (diff)
downloadpexpect-git-a41905ef6885b07c0abfd9daca27ebbe7ce90910.tar.gz
Added ignore_sighup param for pxssh
Diffstat (limited to 'pexpect')
-rw-r--r--pexpect/pxssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py
index 9a6edc7..bd34f97 100644
--- a/pexpect/pxssh.py
+++ b/pexpect/pxssh.py
@@ -86,9 +86,9 @@ class pxssh (spawn):
'''
def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None,
- logfile=None, cwd=None, env=None, echo=True):
+ logfile=None, cwd=None, env=None, ignore_sighup=True, echo=True):
- spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env, echo=echo)
+ spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env, ignore_sighup=ignore_sighup, echo=echo)
self.name = '<pxssh>'