in reply to Re^2: Killing a process on Windows (Win32::Process question)
in thread Killing a process on Windows (Win32::Process question)

winerror.h
The closest I can find is ERROR_TIMEOUT which has a value of 1460. Unfortunately the Windows implementation of Perl does not allow return codes > 255 from a process (because of Perl's UNIX history).
  • Comment on Re^3: Killing a process on Windows (Win32::Process question)

Replies are listed 'Best First'.
Re^4: Killing a process on Windows (Win32::Process question)
by BrowserUk (Patriarch) on May 13, 2009 at 15:50 UTC
    Perl does not allow return codes > 255 from a process

    Perl screws up dealing with return codes internally, but it does allow perl processes to return values greater than 255:

    C:\test>perl -e"exit(511)" & echo %errorlevel% 511

    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.