delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/11/18:22:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Paul Garceau" <pgarceau AT teleport DOT com>
Organization: New Dawn Productions
To: cygwin AT cygwin DOT com
Date: Mon, 11 Dec 2000 15:20:13 -0800
MIME-Version: 1.0
Subject: Re: kill and Windows applications
Reply-to: Paul Garceau <pgarceau AT teleport DOT com>
Message-ID: <3A34F0AD.7473.19B809@localhost>
In-reply-to: <CDEKLCLLBNOBEGNHHLBDGENOCAAA.scott@roboscott.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)

Hi folks,

On 9 Dec 2000, at 23:38, the Illustrious Scott Glenn wrote:

> 
> 
> kill does not work with Windows PID's as far as I can tell.
> 
> Is there a flag option (ps -W gives you the Windows pids, but
> that doesn't work on kill)?

	Unless that has been added to Cygwin api, no.  NT4 requires 
administrative access to kill a process id.  This is specific to 
NT4 or any of its children (NT4/Win2k).
	Win2k may not care as much, but it will still require 
administrative access to kill a process.  I don't believe that 
the task manager for Win2k may be launched by any but the folks 
with adminstrative access.

	Win9x doesn't have such a thing as administrator, so it might 
be easier to kill a process therein.  However, given the 
architecture of the so-called Win9x "task manager" (invoked by 
pressing ctrl-alt-del) the option may be either to kill the 
process (Win32 shell command) or a system restart.
	To do such things from the Win32 OS or at an application level, 
you must use the shellapi stuff included with the Cygwin 
distribution.

	Peace,

		Paul G.

> 
> Thanks,
> -Scott Glenn
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 




Nothing real can be threatened.
    Nothing unreal exists.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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