I've got little experience with cygwin and expect scripts. I am calling my expect script from a rexx script in w2k. The expect script rlogin's to another system and after executing the original script executes to completion but the command window it runs in never closes. I found that the rlogin.exe process is still running. If I rlogin like this..
spawn rlogin $myIPaddress
set save_spawnid $spawn_id
...
what can I do to get rlogin to exit when the program ends?
Could you write a the statement so I can more easily understand it.
Thanks
spawn rlogin $myIPaddress
set save_spawnid $spawn_id
...
what can I do to get rlogin to exit when the program ends?
Could you write a the statement so I can more easily understand it.
Thanks