I know about Ctrl
A
and D
combination. What actually I am looking that I am running a long process with screen
. I want to programatically come out of it as I am using Fabric
to automate my activities. If I get into command screen time python3 file.py 1000 2000 5
from Fabric, it does work but how do I come out of it?
Asked
Active
Viewed 2,355 times
1

Volatil3
- 275
- 1
- 3
- 11
-
`tmux` is much easier to automate than `screen`. – chicks Jun 02 '17 at 21:37
1 Answers
1
Normally, you wouldn't detach from screen - you would not attach yourself in the first place.
From this Stack Overflow answer:
-d -m Start screen in "detached" mode. This creates a new session but
doesn't attach to it. This is useful for system startup
scripts.

Mark Henderson
- 68,823
- 31
- 180
- 259