From e45f50830062ec5dcfd1325c511051b039eea634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Sun, 15 Dec 2019 21:54:50 +0100 Subject: Silence all output of selected command. This seems to be needed for some terminal emulators to completely detach the command. Fixes #13 --- sway-launcher-desktop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway-launcher-desktop.sh') diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index f861177..59cce1b 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -222,4 +222,4 @@ readarray -d ${DEL} -t PROVIDER_ARGS <<<${PROVIDERS[${PARAMS[1]}]} # Substitute {1}, {2} etc with the correct values COMMAND=${PROVIDER_ARGS[2]//\{1\}/${PARAMS[0]}} COMMAND=${COMMAND//\{2\}/${PARAMS[3]}} -(exec setsid /bin/sh -c "${COMMAND}" &) +(exec setsid /bin/sh -c "${COMMAND}" &>/dev/null &) -- cgit v1.2.3