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
Holiday Table: REDUX
Error when running "Set-ReceiveConnector" on my exchange 2007 server.
Need assistance seting up raid configuration on HP Proliant DL360 G6
Need help creating .NET dll or tlb for Excel 2003 VBA to use
Insert new controls into a form via SQL INSERT INTO
Checkbox next to <h1> element
Outlook Anywhere
using autoexec macro to update database with windows scheduled tasks
How not to display Alerts of an update query when a form is opened
Is this optimal