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
How to convert First Function from MS Acess to T-SQL
CSV export from a database
Help on Stored Procedure
Data Back Up proceedures\processes
XPP PC Can't Access Win7 PC
CSS Border Spacing Issue
Access 2007, invoke Manage Replies wizard via on form cmb
Exchange active sync
Adding extra characters to an output.
SBS 2008 host is not accessible. You might not have permission