delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/29/02:30:06

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: 'kill' cannot see other process but its own PID ?
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.3 September 26, 2003
From: Jurgen Defurne <jurgen DOT defurne AT philips DOT com>
Message-ID: <OF51C22442.E867E2A8-ONC12572AD.0028D233-C12572AD.0029296D@philips.com>
Date: Thu, 29 Mar 2007 09:30:56 +0200
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I just discovered that 'kill' is not able to test (-0) for processes
which have been started from the cygwin environment, but
running as another user, in this case as a service (UID = 0).

Is this a problem stemming from the cygwin environment
or is it due to Windows itself ?

As a workaround, it seems only parsing the output from
'ps -Wl' could give me the desired functionality, which
is testing if a certain process, of which the PID is known,
is still running or not.

Does anyone have maybe other ideas I might have
missed ?

Regards,

Jurgen

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019