Skip to content

write lock on file Windows #305

@kafisatz

Description

@kafisatz

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions