Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-08-02 14:32:47


David Abrahams wrote:
> Andrey Melnikov <melnikov_at_[hidden]> writes:
>
>
>>Can we just call CreateProcess to run actions, and use cmd /c only when
>>we need to run .bat/.cmd files?
>
>
> Yes, that's what we do when you set JAMSHELL=%.
>
> Unfortunately, almost all toolsets need to execute commands that can
> only be interpreted by the shell. Just do bjam -n -a and you will
> see.
>
I mean is it very hard to have a way to run specific commands without a
shell?

Most commands which suffer from buffer length limits like cl.exe don't
require a shell.

For example we could have our own launch.exe helper and pass huge
command lines to it using environment or temporary files.

Andrey

 


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