http://www.perlmonks.org?node_id=156196


in reply to How do i kill a process on a remote win32 machine

Strange by my reply disappeared.

Here it is again...

Sorry, usually when I get a process question, they mean service....

Take a look at Win32::Process

You will have a function

Win32::Process::KillProcess($pid, $exitcode)

Terminates any process identified by $pid. $exitcode will be set to the exit code of the process.

http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl/site/lib/Win32/Process.html

Replies are listed 'Best First'.
Re: Answer: How do i kill a process on a remote win32 machine
by Marza (Vicar) on Apr 03, 2002 at 02:41 UTC

    Ignore this! A case of posting without a license!

    This is only works locally!

    Thanks to Util for catching this!