Re: how to exit a script without causing defunct in system



a10.part@xxxxxxxxx wrote:
I am using a parent process to execute some sub process by using "exec
xxx.tcl &", but even xxx.tcl exit normally, I always found a xxx
defunct in linux system, how to avoid this? thanks.

I think the next time you use [exec], it will clean up the defunct child process. There are also tools in TclX to let you take actions when a child exits.

--
Darren New / San Diego, CA, USA (PST)
Remember the good old days, when we
used to complain about cryptography
being export-restricted?
.



Relevant Pages

  • Re: Multicast DNS and the ".local" domain
    ... > advised that their lives may be easier if they avoid using the suffix ... > I stumbled into this because after I upgraded a Debian Linux system, ... This workaround may also work for other ... mDNSResponder implementations. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Is there better stuff than X10?
    ... Jeff Liebermann wrote: ... your black list that I should avoid? ... Yeah, I know some of these are defunct. ...
    (sci.electronics.design)
  • Re: Disable DMA for ESDI adapter
    ... Try starting your Linux system with a 'mem=15m' option. ... get a lot more swapping, avoid starting an X session, but it should work ...
    (comp.sys.ibm.ps2.hardware)
  • Anyway to use Direct CD 3.01 with XP
    ... now defunct Win 95 machine and missed closing 3 of the CD's. ... like to avoid that hassle and the potential for corrupting something. ...
    (microsoft.public.windowsxp.general)
  • console bell visible
    ... As on my linux system, I try to avoid the bell in console mode. ...
    (freebsd-questions)