Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Closing telnet session to UNIX box closes my program

 
bala_nilavai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See docs for nohup:
man nohup
G.
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!