fabiospampinato / vscode-terminals

An extension for setting-up multiple terminals at once, or just running some commands.
MIT License
121 stars 19 forks source link

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

Open jgrills opened 2 years ago

jgrills commented 2 years ago

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.