-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
worker: process.argv for workers #30531
Comments
@legendecas Feel free to open a PR with this if you like – I think you can pass it around the same way that we pass I would suggest |
@addaleax 😄 I'd like to. Just open the issue to ask around if it was left there intentionally. |
@legendecas As far as I am concerned, |
Is your feature request related to a problem? Please describe.
process.argv
is commonly used in Node.js. Right now there is onlyexecArgv
for altering how node instance works, which will be filteredprocess.argv
with these only Node.js understands.Describe the solution you'd like
Add an option
argv
toWorker
constructor's second argument.Describe alternatives you've considered
Just use option
workerData
inWorker
constructor's second argument.The text was updated successfully, but these errors were encountered: