Help for this page

Select Code to Download


  1. or download this
    for ( 1 .. 100 ) {
        print "spawning job $_";
    ...
        SetForegroundWindow( $wid );
        SendKeys( '%{F4}' );
    }
    
  2. or download this
    for ( 1 .. 100 ) {
        print "spawning job $_";
    ...
        SendKeys( '%{F4}' );
        waitpid $pid, 1;
    }