-
Notifications
You must be signed in to change notification settings - Fork 9
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
Open files on Windows and feasibility of in-process upgrades #178
Comments
I see! This confirms my suspicions, but in a surprising way. I was expecting errors with dynamic libraries and other code resources, but not static files. Makes sense, though. I think we will have to do something like this:
|
I wonder were that Seems to come from this logic, which is used to generate adjacent temporary directories during uninstall. Maybe this is because Windows allows renaming but not removing open handles? 🤔 (Not sure about that part). |
Windows famously disallows two processes from handling the same open file. That means that if a process has opened a file, it might block its manipulation til its closed and released.
This can present an opportunity to create errors in upgrade processes. We need to ensure that:
atexit
task with the function to be run?The action items involve:
The text was updated successfully, but these errors were encountered: