Scotty scripts won't die

Malcom.Bright@jet.uk
Fri, 8 Dec 95 10:39:04 GMT

We (JET) are using scotty-2.0.1 to develop some Daemon snmp monitoring tasks.

I am having a problem getting scotty scripts that terminate with a code error
to die. An error message is printed and then the task hangs. Is this a known
problem? Is there a fix or a known work around.

Looking at the code it seems to suggest that the wait is done in Tk_DoOneEvent.
This wait is possibly the select call with an infinite timeout i.e. it is
waiting for an event that never comes (It waits for a timer or a file event).

My code has 1 timer (after) that has just triggered and several snmp sessions -
none are async.

Malcom