Re: Fwd: mutt returns a 256 error code

2015-10-14 Thread Ian Collier
On Tue, Oct 13, 2015 at 01:51:31PM -0500, David Champion wrote: > The return from python's os.system is not the same as the exit status. > You need os.WEXITSTATUS(os.system(command)), which should be 0, or > success. Although this is system-dependent, one popular implementation has: #define __WEX

Re: Fwd: mutt returns a 256 error code

2015-10-14 Thread Cameron Simpson
On 14Oct2015 16:31, Ian Collier wrote: On Tue, Oct 13, 2015 at 01:51:31PM -0500, David Champion wrote: The return from python's os.system is not the same as the exit status. You need os.WEXITSTATUS(os.system(command)), which should be 0, or success. Although this is system-dependent, one popu