On Fri, Sep 14, 2007 at 05:33:13PM +0200, Anselm R. Garbe wrote: > On Thu, Sep 13, 2007 at 09:33:39PM +0200, Xavier wrote: > > In config.arg.h and config.default.h , dmenu is run like this : > > exe=`dmenu_path | dmenu` && exec $exe > > > > This doesn't work for commands with arguments, eg "xterm -e top" or "import > > -w root root.png" or whatever. > > For me this works without a problem. > > echo $SHELL `$SHELL --version` ? >
/bin/zsh zsh 4.3.4 (i686-pc-linux-gnu) Sorry, I feel stupid for not having tried that. The problem indeed only exists with zsh, it works fine with bash. But "eval exec $exe" apparently works fine with both shells.
