I am trying to run the following code without much results:
use Win32::Process::Kill; my $pids = $ARGV[0]; $handles = GetHandle($pids); SuspendProcess($handles); INPUT: perl sus.pl 5568 OUTPUT: AppCrash
When I run the above code the perl.exe crashes and gives command line interpreter has stopped working. Anybody knows how this module works?
In reply to Windows process suspend by gautamparimoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |