Re: [dev] [dmenu] bug:

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Fri, 9 Dec 2011 11:40:35 +0100

Hey,

On 9 December 2011 10:19, Suraj N. Kurapati <sunaku_AT_gmail.com> wrote:
> On Fri 09 Dec 2011 01:12:52 AM PST, Suraj N. Kurapati wrote:
> > -) | exec ${SHELL:-"/bin/sh"}
> > +) | exec ${SHELL:-"/bin/sh"} &
>
> We can remove this outer exec entirely; it's a no-op on my system.

I've pushed a fix,

-) | exec ${SHELL:-"/bin/sh"}
+) | ${SHELL:-"/bin/sh"} &

The exec must have been ignored because of the pipe, so it's best we
just fork instead. I've not added "echo exec", because one can run
complete shell commands in dmenu_run, including '&&' etc., and that
would mess that up.

Thanks,
cls
Received on Fri Dec 09 2011 - 11:40:35 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 09 2011 - 11:48:03 CET