Run as detached process
This commit is contained in:
parent
af472ec7cf
commit
c3cecdad1f
|
@ -74,7 +74,8 @@ case $sel in
|
|||
IPFS_FULL_URL=${IPFS_URL}/$(cat "$IPFS_USERS_FILE" | grep $TOX_ID | head -n 1 | awk -F ':' '{print $2}')
|
||||
clear
|
||||
echo $'Opening browser. Please wait...'
|
||||
$BROWSER $IPFS_FULL_URL$SUFFIX &
|
||||
pkill $BROWSER
|
||||
setsid sh -c "$BROWSER $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue