ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] Error return codes


From: Doug Kearns
Subject: Re: [RP] Error return codes
Date: Tue Nov 20 20:13:01 2001
User-agent: Mutt/1.2.5i

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.

<snip>
 
Regards,
Doug



reply via email to

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