NAME
Win32::Process::Kill - Perl extension for Terminating Process in Win32 (R3)
SYNOPSIS
use Win32::Process::Kill;
Kill(@pids); #Try all the method from this module to terminate the @pids
Kill(); #Take the values of default variable as pid
#Methods
DebugActiveProcess(@pids);
@handles = GetHandle(@pids);
CreateRemoteThread(@handles);
Terminate(@handles);
Suspend(@handles);
Resume(@handles);
DESCRIPTION
Try to kill Process in diverse ways.
if you have any amazing ways to kill process in Win32,
please contact me. MSN: lokchungk@hotmail.com<gt>
I'll keep update the ways for killing process.
EXPORT Kill() DebugActiveProcess() CreateRemoteThread() Terminate() Suspend() Resume() GetHandle()
- Kill
-
Kill(@pids); or Kill($pid); or Kill(); #from $_
- DebugActiveProcess
-
DebugActiveProcess(@pids); or DebugActiveProcess($pid);
- CreateRemoteThread
-
CreateRemoteThread(@Handles); or CreateRemoteThread($Handle);
- Terminate
-
Terminate(@Handles); or Terminate($Handle);
- Suspend
-
Suspend(@Handles); or Suspend($Handle);
- Resume
-
Resume(@Handles); or Resume($Handle);
- GetHandle
-
@Handles = GetHandle(@pids); or ($handle) = GetHandle($pid);
SEE ALSO
Demo/demo.pl
Win32::Process::List (Find out ProcessId easily)
my Email: rootkwok <AT> cpan <DOT> org
AUTHOR
Baggio, Kwok Lok Chung. <rootkwok <AT> cpan <DOT> org>
patches by Daniel Dragan <bulkdd <AT> cpan <DOT> org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Baggio, Kwok Lok Chung
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 94:
'=item' outside of any '=over'
- Around line 138:
You forgot a '=back' before '=head1'