[tkined] Expect weirdness

Christopher Akritides (foris@ans.net)
Sat, 18 Apr 1998 00:53:46 -0400 (EDT)

I have been trying to write a daemon in Tcl, using the Expect fork
command. At the very beginning, I do a fork and the parent exits, while
the child does a disconnect and goes on. When I execute the script from a
kshell, everything works fine. But when I try to do it from a remote
shell, the command doesn't returns. For some reason, the parent becomes a
zombie process and dies only after I kill the child!

Has anyone seen this before? Is there an easy way around this problem?

-----------------------------------------------------------------------------
Christopher Akritides Big Dial Development
(914) 701-5391 Page: 1-800-946-4646 1453477 ANS Communications

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.