Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running all external commands under a wrapper #3650

Open
acmorrow opened this issue May 13, 2020 · 0 comments
Open

Support running all external commands under a wrapper #3650

acmorrow opened this issue May 13, 2020 · 0 comments

Comments

@acmorrow
Copy link
Contributor

Describe the Feature
Per the linked scons-users discussion, none of SPAWN, PSPAWN, or SHELL quite achieves the ability to cleanly inject a wrapper under which all external commands should run. This is required when using icecream, for instance, where all commands should be prefixed with icecrun.

It is also important that this customization honor ordinary subst rules with access to the target and source (so that it can be set to a generator function which can behave intelligently), and that the resulting action string can be obtained so that when this customization is used in a generator context (see #3642), that the wrapper command is included in the generated command string.

Required information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant