Boost logo

Boost-Build :

Subject: Re: [Boost-build] new EXEC builtin command
From: Marc Dürner (marc.duerner_at_[hidden])
Date: 2012-02-20 10:36:07


Hi,

> >From a user's perspective, what would be the difference between the SHELL and EXEC commands? What purpose would there be to use one over the other on anything other than windows?

I would be perfectly happy if the SHELL rule were changed internally
and built on top of the API provided by execcmd.h, so it works on all
platforms and duplicated code is removed.

I am not sure if the strip-eol option really does what the name
implies. Maybe it could be implemented such that all whitespace
characters (when isspace is true) are replaced with space, whitespace
following whitespace is removed and leading and trailing whitespace is
removed. That should be pretty portable, depending only on the isspace
function.

best regards,
Marc


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