Home » Questions » Computers [ Ask a new question ]

Remote execution stops when local computer boots

Remote execution stops when local computer boots

When I run a process on a remote Linux machine, the process stops if the connection is terminated for some cause. This behavior is reasonable, because otherwise irrelevant processes would keep running forever.

Asked by: Guest | Views: 225
Total answers/comments: 1
Guest [Entry]

"Well first option can be to spawn you program as another process with the & operator like

$ myprogram > file.log &

Or you can have a look at the screen command where you can store and retrieve your terminal sessions."