Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-01-27 13:06:35


Once upon a time there was a request to change the SHELL builtin to be
able to get the result code of the command run. At the time I pointed
out the problem of having to return 2 values, the captured output and
the result code, which would break existing uses. This morning I had an
idea that would allow us to have the result code but still maintain
compatibility. I'm proposing we change the rule to be:

     SHELL ( command : * )

Where options would allow for specifying an "exit-status" option to also
return the wanted status. This would also allow for future expansion for
example to allow "no-output" (don't capture output just run), and
"input" (to feed strings into the command).

Thoughts?

-- 
-- 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