On Monday, 17 August 2015 at 03:14:24 UTC, BBasile wrote: > 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). And the executable file being run must not be shared for writing, because it's mapped.