Re: [Scons-dev] env.subst and variable substitution including whitespace in parameters
Mats Wichmann <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users