#3532: Use $SHELL when running mailcap-related commands
-------------------------+--------------------------------------------------
 Reporter:  vinc17       |       Owner:  mutt-dev
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:          
Component:  mutt         |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by m-a):

 {{{
 Am 18.07.2011 12:00, schrieb Mutt:


 I contend that mutt SHOULD USE /bin/sh unconditionally so that mailcap
 entries have predictable behaviour.  This is standard behaviour on
 UNIX-like systems, and mutt SHOULD NOT USE the user's interactive shell.

 While use of $SHELL may aid scripting, users can trivially write a
 wrapper such as:

 #!/bin/sh
 exec /path/to/zsh /my/zsh/script "$@"

 Using the login/interactive shell for scripting will fail in awkward
 ways and generate tons of bug reports.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3532#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to