ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Error return codes


From: Ben Leslie
Subject: Re: [RP] Error return codes
Date: Tue Nov 20 20:31:02 2001
User-agent: Mutt/1.3.23i

On Wed, 21 Nov 2001, Doug Kearns wrote:

> On Wed, Nov 21, 2001 at 02:57:32PM +1100, Ben Leslie wrote:
> > Hi All,
> > 
> > Another question. Would is be possible for ratpoison to pass
> > back error commands when using the -c option.
> > 
> > I would like to do:
> > 
> > ratpoison -c "select mutt"
> > echo $?
> > 
> > and if there is not "mutt" window it would
> > return some non zero value. That way in a script
> > I would be able to then recover from this problem.
> > (ie: start mutt and change focus to it).
> 
> Mike Meyer contributed a script which should be in contrib/ but is not :-)
> 
> If I understand you correctly, this should do what you want.
> 
> Look for his message "Meta/Generate and misc things" on Oct 5 2001.


Yep, thanks. That works a gem. Sorry for not checking the archives :>


Benno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]