Microsoft
Software
Hardware
Network
Question : expect: when does a spawned process terminate?
when an expect script spawns a process, say, telnet
spawn telnet $target
the script does its thing then exits. Is the telnet session still hanging around? Or does it close when the script terminates?
Thanks!
Answer : expect: when does a spawned process terminate?
telnet will close when the script finishes (because it gets end of file on its stdin).
In general the easiest way to terminate a spawned process is to exit the expect script; otherwise you have to "expect eof" "wait" and so on
Random Solutions
antimalware hidden in a file- PUA.Packed.ASPack
Exchange 2007 sp2 install
dell monitor stand DS-224STA
SCREEN SAVER TIMEOUT AND PASSWORD PROTECTION TIMEOUT
PHP Month Calucation
Trouble Accessing Values in Multidimensional Array
GPS inputs
DIV issues: 'overflow' and 'padding' properties
How to get text from a site with jQuery
Need Online Backup Service Providers