delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/03/16:48:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E63CDB0.D8BEFBAE@real.com>
Date: Mon, 03 Mar 2003 13:48:32 -0800
From: Sudheer Tumuluru <stumuluru AT real DOT com>
Organization: RealNetworks Inc.
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygrunsrv -E (stop) does not work on Win32 applications

Hi,
        I have a Win32 exe I want to install as an NT service using
cygrunsrv. I use cygrunsrv to install (-I) and uninstall (-R) the
service. cygrunsrv -S starts up the service but -E doesn't seem to kill
(stop) the process. From the cygwin bash prompt, I am able to kill the
program only if I use /usr/bin/kill program with a -f flag. I suspect
cygrunsrv is not stopping the program because it is not doing the steps
/usr/bin/kill -f is doing to kill a process in the Win32 process table.
Is there any workaround or flag I can pass to cygrunsrv to fix this
problem?

Thanks in advance,
Sudheer T



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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