I am writing a java program that runs under unix.
It would like run forever. But when I start it from command line, I have to leave that window open always until the program stop.
Could anyone give me some idea about how can i run it at back end? Just start it from command line then I could close that command line.
Thank you very much.
I am writing a java program that runs under unix. It would like run
Share
If you don’t want to “daemonize” it you can just use nohup:
and your-program will continue to run in the background until it finishes.