Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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! 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). In reply to Re: How to get a persistent daemons after exiting the session?
by bronto
|
|