commit cc873d1a00a3ebd471a46db8e4d421c5706faed3 parent 941a413ecf74e8106b0b9addb824257648db4023 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 18 Mar 2019 11:08:22 +0100 Nohup surf-open processes Diffstat:
M | links/bin/surf-open.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/links/bin/surf-open.sh b/links/bin/surf-open.sh @@ -10,12 +10,12 @@ uri="" runtabbed() { echo "starting tabbed" - tabbed -dn tabbed-surf -r 2 >"$xidfile" 2>/dev/null & + nohup tabbed -dn tabbed-surf -r 2 >"$xidfile" 2>/dev/null & disown sleep 0.1 } opensurf() { - $prefix surf -e "$xid" "$uri" >/dev/null 2>&1 & + nohup $prefix surf -e "$xid" "$uri" >/dev/null 2>&1 & disown }