open: use nohup instead of setsid

This commit is contained in:
NRK
2021-08-17 04:19:57 +06:00
parent fd8236585e
commit 41869f8324

2
sxbm
View File

@ -164,7 +164,7 @@ bm_open() {
[ "$LINK_NUM" -gt 1 ] && [ -z "$FORCE" ] && [ "$LINK_NUM" -gt 1 ] && [ -z "$FORCE" ] &&
die "Too many links\nUse '$APPNAME open -f' to force open them all\n\n$LINK" die "Too many links\nUse '$APPNAME open -f' to force open them all\n\n$LINK"
setsid $BROWSER $LINK 1>/dev/null 2>&1 nohup $BROWSER $LINK 1>/dev/null 2>&1 &
} }
bm_edit() { bm_edit() {