G'day gautamparimoo,
According to the Win32::Process::Kill documentation, GetHandle returns an array. I expect that calling it in scalar context will return 1 (in your code here). Subsequently, you call "SuspendProcess(1);" which is probably responsible for the crash. The documentation has the code you need.
-- Ken
In reply to Re: Windows process suspend
by kcott
in thread Windows process suspend
by gautamparimoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |