Skip to content

Commit

Permalink
Run launch command in sub-shell, allowing the script to exit normally…
Browse files Browse the repository at this point in the history
… and run trapped cleanup tasks. Fixes #11
  • Loading branch information
Biont committed Nov 23, 2019
1 parent 8aa7fe6 commit 65aaeb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-launcher-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ command)
;;
esac

exec setsid /bin/sh -c "$command"
(exec setsid /bin/sh -c "$command" &)

0 comments on commit 65aaeb4

Please sign in to comment.