This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'kill' cannot see other process but its own PID ?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]