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

feat: provide configurable spawn #333

Merged
merged 2 commits into from Mar 11, 2022

Conversation

antongolub
Copy link
Contributor

@antongolub antongolub commented Mar 11, 2022

  • Mocking and testing: ESM mocking is not handy, so if we'd like to override cp.spawn we have to create a new VM context with clean module cache, read files, parse them to build proper virtual refs, evaluate, etc, etc. Let's just don't.

  • Debug and audit. For example, we can easily wrap the default impl and capture args and stdout of all internal cmd invocations of script to some file.

  • Appropriate changes to README are included in PR

@antonmedv antonmedv merged commit 73aee91 into google:main Mar 11, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants