[Scons-users] [Scons-dev] env.subst and variable substitution including whitespace in parameters

Mats Wichmann mats at wichmann.us
Mon Sep 17 14:42:12 EDT 2018


On 09/17/2018 12:07 PM, Bill Deegan wrote:
> Did you try having pipes in your action command string?
> I'm thinking it should work..
> 
> I wrote the wiki page you mentioned and it's a WIP.

>> I'm wondering if this should be filed as a github issue
>>
>> Recently I ran into a problem, I needed to write a method to pipe some
>> input into and out of gcc via the preprocessor
>> this meant using subprocess instead of calling an scons Action since I
>> wanted to do piping, but to do that I needed to expand outwards the gcc /
>> cpppath etc into a string.

there is some mechanism for piping in a command, see the PSPAWN
construction environment variable.


More information about the Scons-users mailing list