-
Notifications
You must be signed in to change notification settings - Fork 12
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
Sharing violation between Notepad and renamer on Windows #61
Comments
@mtimkovich @marcusbuffett the suggestion over in Stebalien/tempfile#200 is to use a temporary directory instead and create a file within that. I also got another idea, but I need to verify if this is viable with Failing that the only other method I see is that on Windows we could use |
Found a method, but it's clunky.
Essentially it would require to specify the sharing mode in
|
@marcusbuffett @mtimkovich Any comments? It appears that the suggested solution of using So the idea would be:
Comments? Better ideas? Thanks! |
During the implementation of #59 it turned out that the use of
tempfile
and how Notepad attempts to (re)open the file for writing back changes causes a sharing violation. I asked for advice over in Stebalien/tempfile#200.I'll attempt to tackle this, although I cannot assign it to myself.
The text was updated successfully, but these errors were encountered: