Boost logo

Boost-Build :

Subject: Re: [Boost-build] new EXEC builtin command
From: Marc Dürner (marc.duerner_at_[hidden])
Date: 2012-02-22 11:30:29


Hello,

>> I have tried to use the current SHELL rule with mixed success. It
>> seems it does not work well under windows when paths have spaces and
>> the command needs to be qouted. The reason for this is a limited
>> implementation of popen on windows.
>>
>
> Do you have a specific test case that fails?
> I thought there was code in builtin_shell to
> handle this.

I do not remember the exact situation. It was probably more
complicated, where you had to do multiple qouting.

An implementation based on the execcmd.h API makes the code shorter
and easier to understand, doesnt't require an ifdef HAVE_POPEN and we
don't have to implement the same feature twice, since this is exactly
what execcmd does -> run a shell command. Doesn't that sound
convincing?

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