Help for this page
system("/usr/bin/ps > test1.out");
system("/usr/bin/ps > test1.out &");
my $pid=spawn("/usr/bin/ps","test1.out"); ... die "Could not fork $cmd : $!"; } }