Re: output error messages
- From: Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx>
- Date: Tue, 08 Jun 2010 18:30:07 +0200
He needs to at least expect EOF to have the
shell command or any other at that ) its course.
as nothing is [expect]ed the spawned process is blocked.
spawn itself will only report errors in creating the
spawned process, i.e.
spawn telnex $host $port
expect1.3> spawn telnex ben smtp
spawn telnex ben smtp
couldn't execute "telnex": no such file or directory
"spawn telnex ben smtp"
will produce a usefull error ( prob. telnex not found or similar )
expect1.1> spawn sh "mv a b"
spawn sh mv a b
expect1.2> expect EOF
mv a b: mv a b: No such file or directory
28289 exp4 0 127