[xmonad] shellPrompt exec with args

Carsten Mattner carstenmattner at gmail.com
Sat Feb 9 17:27:03 CET 2013


On Sat, Feb 9, 2013 at 3:10 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Fri, Feb 8, 2013 at 5:55 PM, Carsten Mattner <carstenmattner at gmail.com>
> wrote:
>>
>> Do I have to configure anything special to use shellPrompt with extra
>> args?
>> For example "xterm -e emacs -nw" won't start anything and I believe it's
>> because shellPrompt wants just a path or name of something in $PATH.
>
>
> I'm not exactly sure what you're asking, but shellPrompt uses "spawn" so
> should not have issues with extra arguments.  I do see an issue where
> completion would break if an executable has a space in its name, but that
> shouldn't affect running it if you have your quoting correct.

Unsuccessfully tried the following
"xterm -e mc"
"/usr/bin/xterm -e mc"
'xterm -e mc'
'/usr/bin/xterm -e mc'



More information about the xmonad mailing list