Help for this page

Select Code to Download


  1. or download this
    my $pidChild;
    my $pid0=fork();
    ...
      my $command='sh /path/process.sh';  
      exec($command);
      }
    
  2. or download this
    my $pidChild;
    my $pid0=fork();
    ...
      my $command='sh /path/process.sh 2>&1';  
      exec($command);
      }
    
  3. or download this
    my $command='sh /path/process.sh > /pathlogs/mylog.log';