send output to null and dont freeze the terminal

This commit is contained in:
NRK
2021-05-01 08:18:26 +06:00
parent d477b86c4c
commit 69d2c760a9

2
sxbm
View File

@ -154,7 +154,7 @@ bm_open(){
die "Too many links\nUse 'sxbm open -f' to force open them all\n\n$( echo "$LINK" )"
fi
$BROWSER $( echo "$LINK" | awk '{print $2;gsub(/\n/," ")}' )
$BROWSER $( echo "$LINK" | awk '{print $2;gsub(/\n/," ")}' ) 1>/dev/null 2>&1 &
}
############