You forgot one courtesy. chdir '/'; , so that the former $ENV{PWD}'s filesystem can be umounted or remounted cleanly.
Also, use POSIX; will permit a range of system calls that are useful for this kind of thing.
After Compline,
Zaxo
In reply to Re: Forking the polite way
by Zaxo
in thread Forking the polite way
by rjray
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |