in reply to Exec command running in background after a fork
A while ago, I wrote some chessgame-analysis-related program. The analysis process took a looong while, so I had to find a way to execute the external analysis utility in the background.
I'm not sure whether the same solution will be used here, but here is the command execution part:
system 1, 'perl main.pl a b c d e';
The Documentation advises against the use of exec (see http://perldoc.perl.org/functions/exec.html), so I'd use system instead.
Hope that halps.
Regards,
Luke
|
|---|