Win32::Process::Kill - Perl extension for Terminating Process in Win32 (R3)
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);
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.
Kill(@pids); or Kill($pid); or Kill(); #from $_
DebugActiveProcess(@pids); or DebugActiveProcess($pid);
CreateRemoteThread(@Handles); or CreateRemoteThread($Handle);
Terminate(@Handles); or Terminate($Handle);
Suspend(@Handles); or Suspend($Handle);
Resume(@Handles); or Resume($Handle);
@Handles = GetHandle(@pids); or ($handle) = GetHandle($pid);
Demo/demo.pl Win32::Process::List (Find out ProcessId easily) my Email: rootkwok <AT> cpan <DOT> org
Baggio, Kwok Lok Chung. <rootkwok <AT> cpan <DOT> org>
patches by Daniel Dragan <bulkdd <AT> cpan <DOT> org>
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:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Win32::Process::Kill, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::Process::Kill
CPAN shell
perl -MCPAN -e shell install Win32::Process::Kill
For more information on module installation, please visit the detailed CPAN module installation guide.