On 4 Apr, 15:14, Ganesan Rajagopal <[EMAIL PROTECTED]> wrote:
> > "Gil" == Gil H <[EMAIL PROTECTED]> writes:
> > classSSH:
> > def __init__(self, user, password, host):
> > self.child =pexpect.spawn("[EMAIL PROTECTED]"%(user, host))
>
> Try adding the following line here
> "Gil" == Gil H <[EMAIL PROTECTED]> writes:
> class SSH:
> def __init__(self, user, password, host):
> self.child = pexpect.spawn("ssh [EMAIL PROTECTED]"%(user,
> host))
Try adding the following line here
self.child.logfile = sys.stdout
That should give you som