-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
End of CLI options --
is now part of process.execArgv
(regression in Node 10.10)
#24647
Labels
cli
Issues and PRs related to the Node.js command line interface.
regression
Issues related to regressions.
Comments
/cc @addaleax |
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
Nov 25, 2018
addaleax
added a commit
to addaleax/node
that referenced
this issue
Nov 26, 2018
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: nodejs#24647
3 tasks
Trott
pushed a commit
to Trott/io.js
that referenced
this issue
Nov 29, 2018
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: nodejs#24647 PR-URL: nodejs#24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Fixed in 83d6cb9 |
targos
pushed a commit
that referenced
this issue
Nov 29, 2018
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: #24647 PR-URL: #24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
refack
pushed a commit
to refack/node
that referenced
this issue
Jan 14, 2019
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: nodejs#24647 PR-URL: nodejs#24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
BethGriggs
pushed a commit
that referenced
this issue
Feb 12, 2019
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: #24647 PR-URL: #24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
BethGriggs
pushed a commit
that referenced
this issue
Feb 20, 2019
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: #24647 PR-URL: #24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
rvagg
pushed a commit
that referenced
this issue
Feb 28, 2019
This was essentially a typo that went unnoticed because we didn’t have tests for this particular situation. Fixes: #24647 PR-URL: #24654 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 9, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 9, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 9, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 9, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
demurgos
added a commit
to demurgos/spawn-wrap
that referenced
this issue
May 10, 2019
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
cli
Issues and PRs related to the Node.js command line interface.
regression
Issues related to regressions.
I noticed a regression regarding
--
following the refactoring in 8fd55fffee (#22392).Node < 10.10:
Node >= 10.10
The double dash indicating the end of the exec args is now part of
process.execArgv
while it previously was neither inprocess.execArgv
norprocess.argv
. This prevents from safely spawning a Node process while escaping the main module name. The following pattern to respawn itself no longer works:Calling
node -- foo.js
results innode -- -- foo.js
in Node > 10.10 (it worked fine previously).I caught it in CI when working on
spawn-wrap
, a lib that heavily depends on how the node processes are spawned: https://travis-ci.org/demurgos/spawn-wrap/jobs/459508703The text was updated successfully, but these errors were encountered: