On Tue, Apr 16, 2013 at 04:15:16PM +0400, Alexander Sedov wrote:
> 2013/4/16 Ross Lagerwall <rosslagerwall_AT_gmail.com>:
> > How did it handle command-line arguments before?
> > Command-line arguments are passed to dmenu as before.
> > Running "dmenu_run -b" would pass the -b to dmenu.
> >
> > AFAICT, the pipeline outputs an executable with no other arguments.
> I mean, previously I could write 'gimp Images/01.png' in dmenu, and it
> would run. Now, it won't.
> If I wanted spaces in commands, I could've escaped them.
> I think something along the lines of eval "exec "$(dmenu_path|dmenu
> "$_AT_") would be better.
>
OK, I see. As a new dmenu user, I didn't realize it was possible to
type in arguments.
I have sent an updated patch based on your logic.
Thanks
--
Ross Lagerwall
Received on Tue Apr 16 2013 - 15:48:03 CEST