diff options
Diffstat (limited to 'pexpect/pxssh.py')
-rw-r--r-- | pexpect/pxssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index ce22736..3fce9c7 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -52,8 +52,8 @@ class pxssh (spawn): # Python's super is super annoying. # http://mail.python.org/pipermail/python-list/2006-February/325485.html - def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, env=None): - spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, env=env) + def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, cwd=None, env=None): + spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env) self.name = '<pxssh>' #super(spawn, self).__init__() |