On Aug 5 03:42, George wrote: > If this is mutt-specific I apologise in advance but I'm trying to figure > out why shell commands executed within mutt fail if the command includes > the '~' notation. For example: > > !less /etc/passwd # works > !less ~/.muttrc # fails - no such file or directory > > What's curious is that in the second example, mutt does seem to expand > '~' on its command-line (tab completion works), but the command itself > fails.
Very likely mutt calls system() to run these commands which in turn starts a subshell to run these commands under. The subshell is /bin/sh which doesn't understand the ~ notation. Corinna -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/