in reply to Re^4: End a process in the Task manager
in thread End a process in the Task manager

Try

kill 2, 1768;

See kill

FYI. Win32::Process is a separate module from Win32::Process::Info that would require you to find and install it before you can use it. However, Perl's built-in kill function works fine for this.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Replies are listed 'Best First'.
Re^6: End a process in the Task manager
by Nalina (Monk) on Jun 06, 2005 at 12:24 UTC
    Thank u very much. It works fine.