[Scons-dev] TEMPFILE spaces bug: your thoughts requested
Gary Oberbrunner
garyo at oberbrunner.com
Mon Sep 3 18:00:35 EDT 2012
On Sun, Sep 2, 2012 at 11:28 PM, Kenny, Jason L <jason.l.kenny at intel.com> wrote:
>
>
> I believe what he wants to fix this is this function
>
> Action.py line 151
>
I assume you mean Subst.py, which has such a function at line 151.
I think something like this might work, assuming all the users of
TEMPFILE quote the cmd appropriately.
Of course the right answer is for the subst logic to know that the cmd
is one "word" and needs appropriate quoting -- mostly, subst does
this; maybe another answer could be for the TEMPFILE creation logic to
do shell quoting on the cmd.
--
Gary
More information about the Scons-dev
mailing list