> No, but it's a minor use case and if that prevents us from running the major use-case in a fail-safe manner we need to come up with a solution.

These goals are not conflicting. When you said,

> Yes in any case try to delete the previous exe, if that fails report an error to the user.

I thought you explicitly referred to the case when the exe was still running. Currently if deleting the exe fails, we try to move it out of the way instead of bailing out. Even though this behavior might be unusual to Windows users, it will be the same as on POSIX, where it is possible to delete the binary of a running program.

> No, but it's a minor use case

An anecdote: today I was tweaking a tool that's part of the process I normally use to build D programs. Out of habit I tried to build the tool in the usual way, but realized that the build will fail since the program would be running at the time when its executable would be created. The build succeeded to my surprise, as I had completely forgotten about this change :)