This is the mail archive of the cygwin@sources.redhat.com 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]

Re: kill and Windows applications


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@sourceware.cygnus.com


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