# Handling long-running process
When executing a long-running process, your SSH connection can be shut down causing the process to stop. To avoid this problem, one solution is to use screen (opens new window).
Here are the basics to know:
- Create a screen:
sreen -S my-session
- Launch your process:
execute my long process
- Leave your screen:
[ctrl]+[a]
then[d]
- List the screens:
screen -ls
- Going back to your screen:
screen -r my-session
Check the doc (opens new window) to learn more.