-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
(v7.x backport) src: allow CLI args in env with NODE_OPTIONS #12648
(v7.x backport) src: allow CLI args in env with NODE_OPTIONS #12648
Conversation
I request that this be landed on the next 7.x that is accepting minors. @nodejs/lts I'm also going to request backporting to 6.x once its been in 7.x long enough to prove itself, but 6.x has non-trivial conflicts, I have to work through the actual C++ code and re-apply the changes. I'm doing that now. |
d4ceb59
to
69a8053
Compare
Needs a rebase |
708dabe
to
cdd7f62
Compare
rebased without conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green.
The v7.x branch is not an LTS branch so this does not need to be on the LTS WG agenda. |
Not all CLI options are supported, those that are problematic from a security or implementation point of view are disallowed, as are ones that are inappropriate (for example, -e, -p, --i), or that only make sense when changed with code changes (such as options that change the javascript syntax or add new APIs). PR-URL: nodejs#12028 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
cdd7f62
to
34e8eb6
Compare
@jasnell I don't know what I was thinking (I think I got confused between the 3 or 4 PRs I was doing CI runs on), but I landed this without CI, and its broken. Can I force-push it off of v7.x-staging? Its currently the head commit. |
Got an OK from @evanlucas on IRC, and force-pushed this of of v7.x-staging. Trying again in #13063 |
See #12647, needed backport because of a trivial conflict against #10156 which touched the same long, long line in vcbuild.bat.
Not all CLI options are supported, those that are problematic from a
security or implementation point of view are disallowed, as are ones
that are inappropriate (for example, -e, -p, --i), or that only make
sense when changed with code changes (such as options that change the
javascript syntax or add new APIs).
PR-URL: #12028
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com
Reviewed-By: Refael Ackermann refack@gmail.com
Reviewed-By: Gibson Fahnestock gibfahn@gmail.com
Reviewed-By: Bradley Farias bradley.meck@gmail.com
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)