Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Win32::Process;
    ...
                      "C:\\foo\\Setup.exe", "Setup.exe", 0, 
                       NORMAL_PRIORITY_CLASS,".")|| die "$!\n";
    $pid = $ProcessObj->GetProcessID();
    
  2. or download this
    $ProcessObj->Kill($exitcode);