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
network name of a computer
windows 2008 Hyper-V
Display particular data in string
Windows Search 4. Prevent Windows Search 4 from cataloguing Internet Explorer's history.
I need to create a script the copies the newest file from 1 directory to another
Digitally signing Access 2003 MDE:breaking certificate with internal modifications of queries?
sql profiler on GP, sql tables that are hit from GP
Why is Kaspersky internet security 2010 blocking
www.apple.com
Outlook Express - Can't Search folders
Parent/Child/Child relationships in forms and sub-forms