Skip to content

Conversation

@addaleax
Copy link
Member

Provide process.execArgv. If an execArgv option is passed to the
Worker constructor, that option is used as its value; if not,
the parent’s process.execArgv is inherited (since that also goes
for the actual options in that case).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

@addaleax sadly an error occured when I tried to trigger a build :(

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Feb 22, 2019
@addaleaxaddaleax added process Issues and PRs related to the process subsystem. worker Issues and PRs related to Worker support. and removed lib / src Issues and PRs related to general changes in the lib or src directory. labels Feb 22, 2019
@jasnell
Copy link
Member

do docs need to be updated for the execArgv option on the Worker constructor?

@addaleax
Copy link
MemberAuthor

@jasnell Yup, added a note for that in 1da935e.

@addaleax
Copy link
MemberAuthor

CI: https://ci.nodejs.org/job/node-test-pull-request/21082/

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 1, 2019
@addaleax
Copy link
MemberAuthor

Provide `process.execArgv`. If an `execArgv` option is passed to the `Worker` constructor, that option is used as its value; if not, the parent’s `process.execArgv` is inherited (since that also goes for the actual options in that case).
@addaleax
Copy link
MemberAuthor

@addaleax
Copy link
MemberAuthor

Landed in f65b4af

@addaleaxaddaleax closed this Mar 2, 2019
@addaleaxaddaleax deleted the worker-exec-argv branch March 2, 2019 12:18
addaleax added a commit that referenced this pull request Mar 2, 2019
Provide `process.execArgv`. If an `execArgv` option is passed to the `Worker` constructor, that option is used as its value; if not, the parent’s `process.execArgv` is inherited (since that also goes for the actual options in that case). PR-URL: #26267 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
addaleax added a commit that referenced this pull request Mar 2, 2019
Provide `process.execArgv`. If an `execArgv` option is passed to the `Worker` constructor, that option is used as its value; if not, the parent’s `process.execArgv` is inherited (since that also goes for the actual options in that case). PR-URL: #26267 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
@BridgeARBridgeAR mentioned this pull request Mar 4, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.processIssues and PRs related to the process subsystem.workerIssues and PRs related to Worker support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@addaleax@nodejs-github-bot@jasnell@cjihrig@joyeecheung@BridgeAR