mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
disown child terminal from the parent
This commit is contained in:
parent
5b31e04513
commit
0f185261be
@ -7,4 +7,4 @@ PID="$(pstree -lpA "$PID")"
|
||||
PID="${PID##*(}"
|
||||
PID="${PID%)}"
|
||||
cd "$(readlink /proc/"$PID"/cwd)" || return 1
|
||||
"$TERMINAL"
|
||||
"$TERMINAL" & disown
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user