I am trying to spawn a process in an expect script and I keep getting an error message that it can't find the file I am trying to spawn. I am trying to login to an ssh client (putty) that lives on my local computer
Here is the the first line of the expect script:
#first start the process
package require Expect
spawn ssh library.tufts.edu
And here is the error message I am getting:
The system cannot find the file specified.
"spawn ssh library.tufts.edu"
(file "library.tufts.edu.tcl" line 6)
It seems there is some syntax I am missing to spawn the process