Re: [dwm] arguments don't work with default dmenu command

From: Xavier <shiningxc_AT_gmail.com>
Date: Fri, 14 Sep 2007 17:53:33 +0200

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.
Received on Fri Sep 14 2007 - 17:55:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:52:53 UTC