sdfmt -i isn't works on Windows
Closed this issue · 3 comments
sdfmt -i (in place formatting) isn't works on Windows and reports:
The Process Cannot Access The File Because Another Process has Locked a Portion of the File
Version: v0.0.12
It does look like another process has locked a portion of the file. Is that process sdfmt itself? If not, this is likely a problem with another program on your machine.
Is that process sdfmt itself?
I don't know
Some clarification:
This error occures when I try to use sdfmt
on newly created (by another tool) file what placed on NFS network disk.
Local disks isn't affected.
Looks like other utilities written in D aren't affected by this.
Issue is reproducible, I will try to study this problem later
You can use the method explained here: https://superuser.com/a/643312 to know which process is has a lock on the file. If it is sdfmt, then that's definitively a bug, but if not, I'm afraid there isn't much I can do.