general *nix question
Posted by: telkoth
Posted on: 2007-07-22 13:49:00
I'm not so hot with linux, so I've got a question about something that's driving me nuts :P
I've written my own java app that I'd like to be running all the time. I figured out how to run programs in the background (add the ampersand at the end), however it's never long after I log out that my program ends. At first I thought that my program must be crashing, so I logged its err and out outputs. Finding nothing there, I stayed logged in a while to watch it directly, only to have it never quit :) So as far as I can guess, *nix doesn't like to leave programs hanging around after the person who ran them logs out.
Mmm... what do I do about this? Is there a special way to run programs (add some other non-sense character to the end of the command line? :P) which says "hey! don't close this program!" (in this case, java)?
[edit] or maybe there's a sneaky way to close my SSH connection without logging out the user?Edited by telkoth on 07/22/07 01:51 PM (server time).