Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-12-31 14:31:05


Douglas Gregor wrote:
> The new SHELL rule is absolutely wonderful. Thanks!
>
> Is there any way that we can get the return code when invoking
> something through SHELL? In particular, I'd like to catch nonzero
> exit codes when testing compiler flags with SHELL.

Not right now, but it would be easy to add and have it return two
elements the output string and the return value. This would break any
current uses of SHELL though.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk