Well ... there are a number of ways to put swap.pl into a background process but you'll find the easiest approach to your problem is to use Parallel::ForkManager and totally avoid the use of an external file and/or an external program.
In reply to Re: exec vs. system
by derby
in thread exec vs. system
by Microcebus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |