]> Sergey Matveev's repositories - nnn.git/commitdiff
Make nlaunch independent
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 26 Apr 2019 13:38:04 +0000 (19:08 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 26 Apr 2019 13:38:04 +0000 (19:08 +0530)
scripts/nlaunch/nlaunch

index 18d0f8badfa019fdd22f020a987eb7a0de0bed1b..e5b0a7bf87bf7219357d33f35f407e412ca51e6a 100755 (executable)
@@ -16,5 +16,5 @@ get_selection() {
 }
 
 if selection=$( get_selection ); then
-    "$selection" 2>/dev/null 1>/dev/null &
+    setsid "$selection" 2>/dev/null 1>/dev/null &
 fi