From 3082247d6b3df8cd533a492abc3aa1b34a77e09a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 5 Nov 2020 17:56:56 +0100 Subject: linkview update --- .local/bin/linkview | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/linkview b/.local/bin/linkview index 53ad829..f70a198 100755 --- a/.local/bin/linkview +++ b/.local/bin/linkview @@ -119,11 +119,10 @@ sub open_link ); } elsif ($a == 8) { - exec( - FIREFOX_PATH, - '--kiosk', - $url - ); + $pid = fork(); + if (not $pid) { + exec(FIREFOX_PATH . ' --kiosk ' . $url . ' >/dev/null 2>&1'); + } } return; } -- cgit v1.2.3