[Xmonad] shellPrompt kills xmonad
Benjamin M. A'Lee
bma+lists at subvert.org.uk
Fri Oct 26 18:01:31 EDT 2007
On Fri, Oct 26, 2007 at 11:37:20PM +0200, Andrea Rossato wrote:
> On Fri, Oct 26, 2007 at 08:53:15PM +0200, Tobias Hammerschmidt wrote:
> > Hi,
> > I've got an issue with the shellPrompt extension here. Everytime I'm
> > entering some keys in the shellPrompt xmonad crashes. Sometimes it crashes
> > after the first pressed key (e.g. 'a') and sometimes after the second key
> > (e.g. 'c' than arbritrary letter). However it does not crash, if I open the
> > shellPrompt and exit it by hitting ESC. I only notice this behaviour on
> > NixOS. The same config is working on debian etch without crashing.
> this was due to the fact the ShellPrompt expected to find bash in /bin.
> I pushed a patch so that we will now just run "bash" hoping to find it
> in the PATH.
> I think that XMonandContrib.Run that should be exporting safe
Would it possibly be better to call /bin/sh instead, since that can
fairly reliably be found on Unix systems, whereas bash is only
common on GNU/Linux? Alternatively, look for a few (bash, zsh, ksh,
sh, possibly others) and run one. Or use the user's $SHELL setting.
Benjamin A'Lee :: bma at subvert.org.uk
"All great truths begin as blasphemies." - George Bernard Shaw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20071026/d9e386c2/attachment.bin
More information about the Xmonad