try this
Posted to
tcl
by mjanssen at Fri Jul 22 17:18:00 GMT 2011
view raw
#!/usr/bin/expect -f
log_user 0
spawn "/bin/ls"
expect
eof
puts
" this is the outptu ---> '
$expect_out(buffer)
'."
Recent Posts
tcl by schelte
9 days ago
tcl by emiliano
16 days ago
tcl by fvogel
16 days ago
tcl by emiliano
16 days ago
tcl by rmax
33 days ago
tcl by oldlaptop
33 days ago
tcl by schelte
33 days ago
tcl by Bradipo
46 days ago
tcl by kbk
56 days ago
tcl by oldlaptop
59 days ago
Submit
New paste
Documentation
From Jabber