there is no sense in talking about improvement and creation.
Willing to improve? - do it.
The main problem is what? failed compilation if output is locked by exe execution.
So in moment where output name of compilation is resolved (somewhere before write from fasm.inc called) there could be forced try of taskkill of process that could exist & lock output.
but if fasm will start to kill processes it will be classified as attacking software. And this feature could be exploited in abnormal way.
First of all, I don't use it myself to fix it.
Secondly, at the next update I will have to add it again.
Thirdly, first of all it will help beginners.
Fourth, I'm talking about the debugger, because these programs will not let the process hang and will themselves terminate the debugged program when they are closed.
Fifthly, my suggestions for improving fasmd have already been ignored for 5 updates, although there are interface problems that it is impossible to work with.