-
Notifications
You must be signed in to change notification settings - Fork 244
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
Dependency calling chdir #55
Comments
I am in the same boat as @scholtzm |
Interesting coincidence - I started digging into this issue only 2 days ago after months of break. In my case, the dependency calls
When the code is executing, |
@Unforgiven-wanda Comments here might interest you if you still haven't solved your problem: electron/electron#8206 Closing this since there's not much to be done here. |
@scholtzm Your answer kinda lost me there. Did you manage to monkey patch chdir for it to work inside ASAR? I'm not clear on that. |
You can see my very specific monkey patch here: https://github.com/scholtzm/punk/blob/master/src/utils/monkey-patch.js I override |
Thank you @scholtzm This was exactly it. |
One of my dependencies (a critical one) calls
chdir
. According to docs, working directory cannot be set.How are others dealing with this issue? Is there any way around this?
The text was updated successfully, but these errors were encountered: