X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4AF2D305.9040802@gmail.com> Date: Thu, 05 Nov 2009 13:28:37 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: R: Halting JBoss under Cygwin References: <962898 DOT 14837 DOT qm AT web30805 DOT mail DOT mud DOT yahoo DOT com> <561826 DOT 8483 DOT qm AT web25504 DOT mail DOT ukl DOT yahoo DOT com> <20091105121832 DOT GA23027 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20091105121832.GA23027@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Christopher Faylor wrote: > On Thu, Nov 05, 2009 at 11:59:04AM +0000, Marco Atzeri wrote: >> >> --- Gio 5/11/09, Larry W. Virden ha scritto: >>> processes, and that helped some. Now he can see the >>> processes using ps -Wef. However, when he issues a kill >>> against the process id, kill says the process doesn't >>> exist. >> to kill a Windows program use a Windows kill. >> >> http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx > > That shouldn't be necessary if the windows program was started via > cygwin. If it wasn't started using cygwin then you can use the > /bin/kill -f to stop it. ^^^^^^^^^ There's an implicit subtlety here: cgf wrote the full path to "/bin/kill" here, because normally if you just type "kill" at the shell you will get the shell's built-in kill command, which doesn't know the -f option. Watch out for that when you try it yourself. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple