how to execute a command on exit mutt?

2007-04-05 Thread Raphael
Hello Users... I want, if I exit from mutt (with 'q') to execute a shell-command. How is this possible? Many thanks for all help and ideas. Greetings Raphael PS: google doesn't show me a good solution...

Re: how to execute a command on exit mutt?

2007-04-05 Thread p . a . thompson
On Thu, Apr 05, 2007 at 11:04:20AM +0200, Raphael wrote: > > I want, if I exit from mutt (with 'q') to execute a shell-command. How > is this possible? > How about just starting mutt like this: mutt && COMMAND e.g. mutt && date - Paul.

Re: how to execute a command on exit mutt?

2007-04-05 Thread Sebastian Waschik
Hello, > I want, if I exit from mutt (with 'q') to execute a shell-command. How > is this possible? I think one possibility should be to bind a macro to "q" which first execute your shell script and then quit mutt. Another solution maybe to start mutt which a shellscript which starts mutt and