| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: howto register process |
| Date: | Thu, 11 Nov 2004 18:45:42 -0000 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <87k6ssw7ub.fsf@zlatenlist.homelinux.net> |
| Message-ID: | <NUTMEGyvfBT5zkDX64k0000069f@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 11 Nov 2004 18:45:42.0468 (UTC) FILETIME=[A583F840:01C4C81E] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Kamen TOMOV
> Sent: 11 November 2004 18:37
> The parent process is started as a windows server. Then it executes
> cygwin's fork. When I try to kill any of these with kill() it returns
> "No such pid".
Does your username have sufficient privileges to kill processes belonging to
whichever user (perhaps SYSTEM, eh?) that the server is running as? It might be
a slightly bogus error message from kill, when really it should have indicated
"access denied".
BTW, kill() doesn't return a const char *. I take it you're referring to the
value in errno after the call, and the error message that perror () generates
from that? Or are you referring to the utility program /bin/kill?
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |