Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 3 Feb 2004 14:09:04 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Re Re: Is there a translation from windows events to cygwin signals ? In-Reply-To: <20040203183820.GD3696@redhat.com> Message-ID: References: <20040203183820 DOT GD3696 AT redhat DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 3 Feb 2004, Christopher Faylor wrote: > On Tue, Feb 03, 2004 at 12:44:32PM -0500, Igor Pechtchanski wrote: > >FWIW, Cygwin's kill() understands Win32 PIDs, so you can at least skip > >step 3. I suggest looking at Cygwin's implementation of /bin/kill (in CVS > >as winsup/utils/kill.cc). > > Sorry to contradict you again, Igor, but cygwin's kill understands win32 > pids only insofar as the win32 pid corresponds to a cygwin pid. You > can't use cygwin's kill() to kill a pure win32 process. It only works > on cygwin processes. In particular, if a process has been exec()ed its > cygwin pid will be that of the original process but its actual windows > pid will be different. > > The kill.exe program has special logic for killing non-cygwin pids when > -f is specified. This is not supported by the cygwin DLL, however. > > cgf Thanks, I appreciate the correction. I'll just shut up now... :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/