[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

No such file



Hola,

I have an expect script which won´t run.  I checked the libraries
needed with ldd ./expect and everything's OK.   Expect runs fine
outside of the shell script.   The script is:

#!../expect -f
set password [lindex $argv 2]
spawn passwd [lindex $argv 1]
expect "*password:"
send "$password\r"
expect "*password:"
send "$password\r"
expect eof
exit


Also tried it as ! /expect ...   No luck.

If anyone knows what's going on, I'd like to
know too.

Thanks.

Jim

jfrey@uvmnet.edu


Reply to: