Skip to content

worker: provide process.execArgv - #26267

Closed
addaleax wants to merge 4 commits into
nodejs:masterfrom
addaleax:worker-exec-argv
Closed

worker: provide process.execArgv#26267
addaleax wants to merge 4 commits into
nodejs:masterfrom
addaleax:worker-exec-argv

Conversation

@addaleax

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@addaleax

Copy link
Copy Markdown
MemberAuthor

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

@addaleax

Copy link
Copy Markdown
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
Comment threaddoc/api/worker_threads.md Outdated
@addaleax

Copy link
Copy Markdown
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
Copy Markdown
MemberAuthor

@addaleax

Copy link
Copy Markdown
MemberAuthor

Landed in f65b4af

@addaleaxaddaleax closed this Mar 2, 2019
@addaleax
addaleax 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 <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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 <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@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