Date: Wed, 19 Jan 2005 11:27:35 -0800 From: Darryl Okahata <darrylo@soco.agilent.com> To: Raymond Wiker <Raymond.Wiker@fast.no> Cc: freebsd-stable@freebsd.org Subject: Re: User's cron job creates zombie process on 5.3 Message-ID: <200501191927.LAA07487@mina.soco.agilent.com> In-Reply-To: Your message of "Wed, 19 Jan 2005 16:47:10 %2B0100." <16878.33022.866459.717977@raw.grenland.fast.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Raymond Wiker <Raymond.Wiker@fast.no> wrote: > Hmm... Maybe this will work? > > /bin/sh -c "/usr/bin/ssh -n -f ${tunnel} &" > > --- the effect of this should (hopefully) be that init becomes the > parent of the zombie process. An easier-to-read way, assuming that a Bourne-compatible shell is used (e.g., /bin/sh and not /bin/csh), would be: ( /usr/bin/ssh -n -f ${tunnel} & ) -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501191927.LAA07487>