in reply to Re^5: Kill a process in perl windows and proceed only if it killed the process
in thread Kill a process in perl windows and proceed only if it killed the process

Can I use this syntax: Win32::Process::Open(my $proc, $pid, undef) ?
I tried the syntax you suggested but gave me the following error
Usage: Win32::Process::Open(cP, pid, inherit)
  • Comment on Re^6: Kill a process in perl windows and proceed only if it killed the process

Replies are listed 'Best First'.
Re^7: Kill a process in perl windows and proceed only if it killed the process
by BrowserUk (Patriarch) on Jul 24, 2012 at 19:58 UTC
    Can I use this syntax: Win32::Process::Open(my $proc, $pid, undef) ?

    Yes.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?