請問第幾版的Perl以後才有spawn指令?
--
#!/usr/bin/expect -f
spawn tcsh -c "./j2re-1_4_2_03-linux-i586.bin"
expect "More"
send "q"
expect "yes"
send "yes\n"
interact
exit 0
expect eof
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.134.30.163
推
05/03 20:48, , 1F
05/03 20:48, 1F
Perl 近期熱門文章
PTT數位生活區 即時熱門文章