aspose file tools*
The moose likes Linux / UNIX and the fly likes Closing telnet session to UNIX box closes my program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Closing telnet session to UNIX box closes my program" Watch "Closing telnet session to UNIX box closes my program" New topic
Author

Closing telnet session to UNIX box closes my program

bala_nilavai
Greenhorn

Joined: Jul 03, 2002
Posts: 1
I telnet to a UNIX box and start my program as a background process (./myprogram.sh &). As long as I keep the telnet session open, my program works fine. But if I close the telnet session, my program also gets killed.
Is there a way, I close the telnet session and still have by program running in the background ?
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
See docs for nohup:
man nohup
G.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Closing telnet session to UNIX box closes my program