- fixed program execution code, now using sh -c to allow arguments for programs

This commit is contained in:
frese 2003-12-07 16:05:08 +00:00
parent 00dcc1ca3a
commit 3ff3bcd364
1 changed files with 2 additions and 1 deletions

View File

@ -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)))