Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Answer: How do i kill a process on a remote win32 machine

by Marza (Vicar)
on Apr 03, 2002 at 01:30 UTC ( #156196=categorized answer: print w/replies, xml ) Need Help??

Q&A > programs and processes > How do i kill a process on a remote win32 machine - Answer contributed by Marza

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-09-27 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (495 votes). Check out past polls.