Boost logo

Boost-Build :

Subject: Re: [Boost-build] RFC - Boost Build's Windows implementation for JAMBASE = %
From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2012-06-20 11:49:51

   Hi all.

> I have a patch locally that changes this to 'execute it directly if
> it does not contain multiple non-whitespace lines' - and that seems more
> natural. Any thoughts on whether or not to apply something like that?

   The more I think about this - the more I like this implementation. It
says - 'if you requested that the command be executed directly by
explicitly setting JAMBASE to '%' then it should be done so'.

   And as a slight helper - it falls back to using the default shell in
case the user specified multiple lines since these can not be executed
directly as-is.

   We might even report this multi-line case as an error or simply
execute each of the given commands in a loop directly, stopping if any
of them returns an error and collecting all of their output together...

   Comments welcome...

   Best regards,
     Jurko Gospodnetiæ

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at