Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 11 Dec 2000 18:27:27 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: kill and Windows applications Message-ID: <20001211182727.A10188@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3A34F0AD DOT 7473 DOT 19B809 AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A34F0AD.7473.19B809@localhost>; from pgarceau@teleport.com on Mon, Dec 11, 2000 at 03:20:13PM -0800 On Mon, Dec 11, 2000 at 03:20:13PM -0800, Paul Garceau wrote: >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. http://sources.redhat.com/ml/cygwin/2000-12/msg00434.html cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com