On Monday, 17 August 2015 at 00:00:11 UTC, Jonathan M Davis wrote:
On Sunday, August 16, 2015 21:32:08 Warwick via Digitalmars-d-learn wrote:
Dont know what to make of this, I pretty much get it every other time I call rdmd. It'll alternate between running fine and then giving me this error...

C:\Program Files (x86)\Notepad++>rdmd J:\Code\statproc.d
std.process.ProcessException@std\process.d(550): Failed to spawn
new process (The process cannot access the file because
  it is being used by another process.)
[...]
Any ideas?

Well, Windows has file locks, so tyically, if one program has a [...]
Personally, I wish that Windows didn't have file locks... :(

It's locked unless it's specified during the call to `CreateFile()` that the file can be shared for reading/writing (FILE_SHARE_READ / FILE_SHARE_WRITE).



Reply via email to