in reply to Re^2: Running a process in the background
in thread Running a process in the background
Feel free to read perldoc -f fork, and look at some examples online. This is not really advanced perl, but it requires some attention.if (my $pid = fork) { # parent ($pid is process id of child) parent_function(); } else { # child child_function(); exit; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Running a process in the background
by thor (Priest) on Nov 23, 2004 at 22:39 UTC | |
Re^4: Running a process in the background
by binary (Novice) on Nov 23, 2004 at 23:05 UTC | |
by Joost (Canon) on Nov 23, 2004 at 23:43 UTC |
In Section
Seekers of Perl Wisdom