in reply to Re^2: meddling with forces I can't understand
in thread meddling with forces I can't understand
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.
|
|---|