Re: expect error

2008-10-23 Thread cancer
On Oct 21, 8:27 pm, [EMAIL PROTECTED] (Juan Pablo Feria Gomez) wrote: > > use strict; > > use warnings; > > use Expect; > > use IO::Tty; > > > $host = "192.168.1.72"; > > $passwd= "xyz"; > > $user = "xyz"; > > > $t= "file.txt"; > > my $connect = Expect->spawn("scp $t [EMAIL PROTECTED]:/work/$user/"

Re: expect error

2008-10-21 Thread Juan Pablo Feria Gomez
> use strict; > use warnings; > use Expect; > use IO::Tty; > > $host = "192.168.1.72"; > $passwd= "xyz"; > $user = "xyz"; > > $t= "file.txt"; > my $connect = Expect->spawn("scp $t [EMAIL PROTECTED]:/work/$user/"); > $connect->expect(30,"\s") ||die "junk1"; > print $connect $passwd."\n"; Do you

Re: expect error

2008-10-21 Thread Sandeep Kumar
Chas. Owens wrote: On Tue, Oct 21, 2008 at 09:40, Sandeep Kumar <[EMAIL PROTECTED]> wrote: hi all, i am using expect module to connect to a remote server. i am getting the following error. Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm line 134, somebody please

Re: expect error

2008-10-21 Thread Chas. Owens
On Tue, Oct 21, 2008 at 09:40, Sandeep Kumar <[EMAIL PROTECTED]> wrote: > hi all, > > i am using expect module to connect to a remote server. i am getting the > following error. > > Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm > line 134, > > somebody please let me kn

expect error

2008-10-21 Thread Sandeep Kumar
hi all, i am using expect module to connect to a remote server. i am getting the following error. Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm line 134, somebody please let me know a solution for this. thanks, sandeep. -- To unsubscribe, e-mail: [EMAIL PROT