Re: [dev] [PATCH] dmenu_run: Don't leave a shell running

From: Alexander Sedov <alex0player_AT_gmail.com>
Date: Tue, 16 Apr 2013 16:15:16 +0400

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.
Received on Tue Apr 16 2013 - 14:15:16 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2013 - 14:24:05 CEST