Help for this page

Select Code to Download


  1. or download this
    exec(qw/wmic process call create/ => "CommandLine='$pathToMyself'" ); 
    +# if Perl scripts are associated to perl
    exec(qw/wmic process call create/ => "CommandLine='perl $pathToMyself'
    +" ); # if perl.exe is in %PATH%
    exec(qw/wmic process call create/ => "CommandLine='wperl $pathToMyself
    +'" ); # if wperl.exe is in %PATH%
    
  2. or download this
    unless ($^O eq 'MSWin32') { exec( $pathToMyself ) }