You never check if fork or exec succeeds
The documentation for fork and exec covers this.
You never reap your children.
I meant to provide a link to waitpid, one method of doing this.
i'm not too sure what fork and exec do.
fork creates a clone of the current process.
exec replaces the program being run in the current process with another program.
Check the docs of these functions, and perlipc.
In reply to Re^3: meddling with forces I can't understand
by ikegami
in thread meddling with forces I can't understand
by downer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |