-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
process::Process::cwd for Windows #105
Comments
Only way i've found is this https://stackoverflow.com/a/2967713/6251201 but it's not really elegant it may flag be flagged as malware |
I think
|
The api may change in the future unfortunately
|
In practice the API is unlikely to change. It has stayed stable for a long time now, and there are a lot of software relying on this trick to acquire the CWD. If this is ever broken, it'll likely come with an API to properly get the CWD without these hacks, which we'll be able to use from this point on. I'll be implementing this the same way psutil does, and opening a PR soon. |
No description provided.
The text was updated successfully, but these errors were encountered: