X-Spam-Check-By: sourceware.org Message-ID: Date: Mon, 23 Oct 2006 20:49:03 -0400 From: "Lev Bishop" To: cygwin AT cygwin DOT com Subject: Re: How do I kill a grandchild process from shell program? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 10/23/06, Jim Seymour wrote: > However, if things don't work fine, the background process sticks around > to plague me later. > > I'd like to end my main script by killing the background process (if > it's still around), but I'm having a helluva time figuring out HOW. How about: $ killall -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/