From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22207 invoked by alias); 27 Jun 2008 08:52:15 -0000 Received: (qmail 22199 invoked by uid 22791); 27 Jun 2008 08:52:14 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 27 Jun 2008 08:51:57 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id EC65A6D4350; Fri, 27 Jun 2008 10:51:54 +0200 (CEST) Date: Fri, 27 Jun 2008 11:30:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Get the cygwin PID of a Win PID Message-ID: <20080627085154.GA20180@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-06/txt/msg00589.txt.bz2 On Jun 27 10:31, Borislav Ivanov wrote: > ps output is: > > D:\>ps -W | grep mysql > 2744 1 1384 1980 ? 18 15:07:22 > /drives/c/mysql/bin/mysqld-nt > 1980 0 0 1980 ? 0 15:07:23 > c:\mysql\bin\mysqld-nt.exe What sort of bastard process is that, being listed as Cygwin process *and* as native Windows process. Apparently mysqld-nt is doing something really weird. I have no idea what that is, but it's definitely bad for getting the Cygwin PID. You test application works fine for normal Cygwin processes. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/