-
Notifications
You must be signed in to change notification settings - Fork 125
Does not work inside workers threads #124
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
Comments
Related execa issue: sindresorhus/execa#357 |
Seems easily solvable by adding a try catch just like the one we are doing above. Care to do a PR? |
I can do that, but I don't know if I would have time to add a unit test since I'm not familiar with the test setup yet. Would it be ok to send PR without a unit test for this? |
Yep! |
Merged
Done at #127. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use execa by running code in worker threads, and it is generating the TypeError error [ERR_WORKER_UNSUPPORTED_OPERATION]: process.chdir () is not supported in workers.
process.chdir(cwd)
The text was updated successfully, but these errors were encountered: