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 bch
5 days ago
tcl by Bradipo
5 days ago
tcl by aspect
5 days ago
tcl by Bradipo
5 days ago
tcl by Bradipo
5 days ago
tcl by Bradipo
6 days ago
lilypond by Bradipo
7 days ago
tcl by cgm
17 days ago
tcl by dandyn
26 days ago
tcl by Stu
27 days ago
Submit
New paste
Documentation
From Jabber