Re: Exit status ignored by the snakefarm?
"M.-A. Lemburg" <[email protected]> Wed, 24 Jul 2002 18:51:51 +0200
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Organization | eGenix.com Software GmbH |
| Message-ID | <[email protected]> |
Anders Qvist wrote: > On Wed, Jul 24, 2002 at 05:33:33PM +0200, M.-A. Lemburg wrote: >>>>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. > > > If the build scripts were in Python, they wouldn't run where Python > don't. Eg Python don't easily compile on UNICOS. By being able to try > to build Python, we can wait for patches in CVS to result in a working > build. Point taken. Just thought it would make the build script development a little easier for you. Perhaps you could use an older version such as Python 1.4 or 1.5.2 for the build process ? You wouldn't need things like sockets which usually cause most of the trouble, so there's a chance... -- 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/