I've noticed that behaviour on issuing exit in a script that doesn't use interact. Out of curiousity I tinkered with it for a bit, but couldn't make it go away. The second or so delay didn't bother me a lot, so I didn't pursue it further. Actually I tried quite hard to get rid of it but couldn't - would be interested if anybody has a solution but my take is that you have to live with it.
Main Topics
Browse All Topics





by: robertfwoodsPosted on 2009-04-02 at 16:51:46ID: 24055695
Greetings.
m/The-Tcl- programmin g-language / Exiting-f rom-intera ct-Expect. html
46041-expe ct-how-det ect-if-pro cess- close d-interact -command.h tml
Look here for a possible solution:
http://www.wellho.net/foru
Seems you must tell interact how to quit in advance.
here is another good discussion:
http://objectmix.com/tcl/2