Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      # Child
      exec("/bin/bash","-c", 'echo CHILD: PID is $$, PPID is $PPID >&2');
    }
    
  2. or download this
    freenet{swgsh}~ $ perl tmp/t3  &
    [2] 20474
    ...
    20474 pts/0    00:00:00 perl
    20476 pts/0    00:00:00 bash <defunct>
    20487 pts/0    00:00:00 ps