vscode-terminals icon indicating copy to clipboard operation
vscode-terminals copied to clipboard

Should not be able to return to parent shell by detaching a persistent screen

Open jgrills opened this issue 3 years ago • 0 comments

Doing the detach will leave you at a non-persistent bash shell that looks to be named like the persistent one, so it could be confusing. screen / tmux should be exec'd instead of forked & execed so that the parent shell can be reclaimed. Just put exec in front of whatever you are running to launch screen / tmux.

jgrills avatar Jul 11 '21 19:07 jgrills