Skip to content

Spawned workers should use the same working directory as the master. #172

Open
wants to merge 1 commit into from

2 participants

@alexkwolfe

Before this fix, the process.cwd() of workers was the parent directory of the running script rather than the current working directory of the master script process. This fix ensures that the workers have the same process.cwd() as the master.

@kainosnoema

+1

I just ran into this again tonight. Seems like a major change, but makes a lot of sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.