-
-
Notifications
You must be signed in to change notification settings - Fork 18
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 use of -e
flag.
#22
Comments
@jamestalmage I like this idea, definitely an edge-case that it would be nice for spawn-wrap to handle. |
So, what arguments would spawn-wrap pass to the wrapping script if This module knows nothing about what "wrapping" is involved. Probably the best solution would be to have some function that is passed into the call to |
Oh, but that won't work, will it? Because it has to survive different child processes, of course, duh. (I helped write this module, but forget how it works sometimes.) Maybe just some option to say "invoke |
See: avajs/ava#815
Specifically: avajs/ava#815 (comment)
This is because that PR makes use of the
-e
flag to fork a child process. Use of the-e
flag causesspawn-wrap
to disable wrapping that particular process.It seems entirely possible that
spawn-wrap
could support the-e
flag when detected by using thevm
module, or maybe just simply by usingeval
.The text was updated successfully, but these errors were encountered: