Re: Exit status ignored by the snakefarm?

"M.-A. Lemburg" <[email protected]> Wed, 24 Jul 2002 17:33:33 +0200
Newsgroups gmane.comp.python.snake-farm.user
Organization eGenix.com Software GmbH
Message-ID <[email protected]>
Anders Qvist wrote:
> On Tue, Jul 23, 2002 at 10:50:38AM +0200, Per Cederqvist wrote:
> 
>><[email protected]> writes:
>>
>>
>>>Build test succeded. Any warnings are appended below.
>>>--
>>>
>>
>>Hmm.  I kill a couple of python processes, and the snake farm reports
>>success?  Something doesn't take care of the exit status the way it
>>should.
> 
> 
> Catching the exit status is difficult from make in this line
> (buildit.sh, 146):
> 
>   (make $target 9>&1 1>&2 2>&9 | tee $makeerrlog) > $makelog 2>&1

Just curious: why don't you write the build code in Python ?

It's really easy to setup things like this by using the popen2
module.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/