Reputation: 533
i'm working with VSCode on remote server via ssh with the jupyter notebook extension. but when im disconnect from the session the process of the code is stopped. is there a way to run the notebook from the VSCode with a backgroung process with tools like tmux. cause i'm far of being a linux expert and i cant figure out how can i run the notebook process with tmux via the VSCode.
thanks a lot in advance.
Upvotes: 52
Views: 10701
Reputation: 81
tmux new -s my_sess
jupyter notebook --no-browser --port=8080 &
Upvotes: 8
Reputation: 11
Simply start a tmux process in the remote terminal start Jupyter in the tmux session. You can go out of the tmux session without closing it. In VSC you can choose the tmux session as the host.
Upvotes: 1