3

This question already has an answer here:

Let's assume I run putty on windows and connect to Debian Jessie remotely. I run Midnight commander, and run long term task. Than got power loss on Windows, so putty connection is lost.

Of course I should use screen, but i forgot.

After reconnection I can see mc in ps ax.

 1864 pts/3    S+     0:10 mc

Is there a way to reconnect to this process? (And is it running?)

marked as duplicate by Ward, mdpc, HBruijn Apr 5 '16 at 6:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4

Nope there isn't, that terminal from where you have launched Midnight commander was the parent process. Once the parent dies the child will die. You should have used screen or disowned the process some how, but now its gone.

Not the answer you're looking for? Browse other questions tagged or ask your own question.