Are you sure that your exec call worked? It can be tricky, see the docs exec.
You could check if it fails :-
exec ('foo') or die "couldn't exec foo: $!";
In reply to Re: Managing the fork/execing and reaping of child processes
by RichardK
in thread Managing the fork/execing and reaping of child processes
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |