I've got a Visual Studio project which builds a program in Debug mode, say Program.exe.

Apparently after one of my recent runs, Windows got it into its head that Program.exe was still running even after I closed it. Now it won't let me build the latest code changes since it won't overwrite the executable.

I tried the task manager first, of course. "End Process" did absolutely nothing----it asks its "are you sure" bit, I click yes, and the process is still there.

After some Googling I downloaded a utility called pskill which is supposed to deal with these situations, but it didn't manage to accomplish anything either.

Restarting is not an option at present because I've got a Linux terminal open with another program running there, and I don't want to interrupt it.

Any suggestions? I know I can change the built program name, but I don't really want to do that either for various reasons.