From: Austin S. <te...@of...> - 2007-07-16 17:08:54
|
On Mon, Jul 16, 2007 at 12:38:24PM +0200, Roland Giersig wrote: > Hmm, could be the wait delay in soft/hard_close which is trying to > send signals to the spawned process via "kill". Maybe that also > doesn't work in a thread (like fork()). Could you try closing the > Expect objects in the main thread? Maybe that gets rid of the delay... > soft_close (e.g.) will read from the process until it returns EOF, then wait on the process until it dies. This is typically considered responsible behavior because it reduces the possibility of leaving zombies around. My question would be "what is ssh doing instead of exiting?" Maybe truss/strace would answer that question. Austin |