How can I keep a remote console running when I close PyCharm?
I'm using PyCharm 23.1, and I have a local Python project on my laptop and a few deployment servers, where I run my code on remote servers using SSH. It usually takes several hours or even days till the computation is completed. I run my code in the python console (using Alt+Shift+E). Whenever I close PyCharm or lose connection, the computation is also interrupted and I have to run the code again. Is it possible to keep the Python console running without keeping PyCharm open?
1 comment
Sort by
Date
Votes
Hi, when the connection is severed, the remote python process should still be running, but you won't be able to see it's output in PyCharm anymore. As a workaround, you could print the output to a file, which you can view after the computation is finished, even if the connection with PyCharm was cut during the process.
Please sign in to leave a comment.