Skip to content
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

write lock on file Windows #305

Open
kafisatz opened this issue Jan 21, 2025 · 0 comments
Open

write lock on file Windows #305

kafisatz opened this issue Jan 21, 2025 · 0 comments

Comments

@kafisatz
Copy link

On Windows 11 (using VS Code) the second line below locks the file.
I.e. once the line is executed I can no longer amend the file and write to disk (in another application)

My workaround is the first line.

Any idea why this is happening?
Is it possible to define JSON3.read(fi) = JSON3.read(read(fi,String)) as such (I have not looked at the source code)

js = JSON3.read(read(fi,String)); #works perfectly fine
js = JSON3.read(fi); #produces a read/write lock for this file 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant