Help for this page

Select Code to Download


  1. or download this
    
    sub main_script()
    ...
    
    }
    
  2. or download this
    
    sub start_child()
    ...
        # In child process
        exec("child script", args);
    }
    
  3. or download this
    
    foreach (@child_pids)
    ...
        kill "SIGTERM", $_;
    }
    
  4. or download this
    while(waitpid(...))
    {
       # Reap the children
    }
    
  5. or download this
    
    debug2: client_process_control: accepted tty 0, subsys 0, cmd /usr/lev
    +el1/sw/tmcvay/bin/PWL
    ...
    debug1: Exit status -1
    # _waitpid(3389) => pid: 3389, rc: