vichoko
Member
I'm trying to make an auto-restarter for my tfs.exe executable.
I've made this simple batch script:
But the thing is that when .\tfs.exe crashes, the batch screen asks for a confirmation (Y/N) before alowing the cycle to continue, and therefore not restarting the server.
I think this is a sort of security wall, because my antivirus warned me about this "infinite loop" (I added the batch to exceptions; so don't worry about my antivirus). So this "busy waiting loop" has to be a well known type of CPU using malicious code; but in this case is not!
Anyone have an idea for getting this work?
Thanks for reading and take your time
I've made this simple batch script:
Code:
:again
START /WAIT .\tfs.exe
goto again
But the thing is that when .\tfs.exe crashes, the batch screen asks for a confirmation (Y/N) before alowing the cycle to continue, and therefore not restarting the server.
I think this is a sort of security wall, because my antivirus warned me about this "infinite loop" (I added the batch to exceptions; so don't worry about my antivirus). So this "busy waiting loop" has to be a well known type of CPU using malicious code; but in this case is not!
Anyone have an idea for getting this work?
Thanks for reading and take your time