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