From 3ff3bcd364e3a7806ce38fc691df585505e93b99 Mon Sep 17 00:00:00 2001 From: frese Date: Sun, 7 Dec 2003 16:05:08 +0000 Subject: [PATCH] - fixed program execution code, now using sh -c to allow arguments for programs --- src/root-manager.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/root-manager.scm b/src/root-manager.scm index 8b8664b..f613f55 100644 --- a/src/root-manager.scm +++ b/src/root-manager.scm @@ -319,7 +319,8 @@ #f (finite-complete (executables-in-path))))) (and exec (not (string=? exec "")) - (& (exec))))) + ;; execute via sh -c to allow specifying arguments for the program + (& (sh -c ,exec))))) ((attach) (let* ((cm (root-wm:current-manager root-wm)) (windows-above (window-path (wm:dpy cm) (wm:window cm)))