disown child terminal from the parent

This commit is contained in:
Polo 2021-11-14 22:47:13 +00:00 committed by GitHub
parent 5b31e04513
commit 0f185261be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,4 +7,4 @@ PID="$(pstree -lpA "$PID")"
PID="${PID##*(}"
PID="${PID%)}"
cd "$(readlink /proc/"$PID"/cwd)" || return 1
"$TERMINAL"
"$TERMINAL" & disown