how i do for continue the script when the client abort conection? When i create a child process, it die when the parent process finish?
You need to dissociate the child process from the parent in order for the child process to continue after the parent dies. You can do this by calling setsid which is part of the POSIX module.
See the perlipc docs and search for "Complete Dissociation of Child from Parent" for an example of how to do this.
- Cees
In reply to Re: Continue when the client abort
by cees
in thread Continue when the client abort
by eial
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |