Re: Pexpect echoes twice for each read

2008-09-19 Thread RDarrelBonner
On Sep 9, 4:01 pm, "Sriram Rajan" <[EMAIL PROTECTED]> wrote: > For some reason, Using pexpect causes my output to echo twice when I > connect from my MAC Darwin (10.4) to Linux (CentOS release 5 ): > > The program: > - > #!/usr/bin/python > # Automatic scp to remote host > # Inp

Pexpect echoes twice for each read

2008-09-09 Thread Sriram Rajan
For some reason, Using pexpect causes my output to echo twice when I connect from my MAC Darwin (10.4) to Linux (CentOS release 5 ): The program: - #!/usr/bin/python # Automatic scp to remote host # Input 1 : filename # Input 2 : destination folder # Input 3 : hostname import