I can not find any way to do this other than through the use of nohup on the linux/unix.
You could start your program in background in a subshell, i.e.: instead of simply calling something like:
/usr/local/bin/myprogram.pl &you could run it as
( /usr/local/bin/myprogram.pl & )Putting those parentheses around starts a new shell and runs the program in it. When you close your "main shell" (that is, the one from which you ran the program) the program remains alive.
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
In reply to Re: How to get a persistent daemons after exiting the session?
by bronto
in thread How to get a persistent daemons after exiting the session?
by hackmare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |