I have c# winform bug: when the application is waiting for user input yes/no/cancel taskkill command line does not work.
Any idea?
I have c# winform bug: when the application is waiting for user input yes/no/cancel taskkill command line does not work.
Any idea?
You need to use /F
to force shutdown if an application shows a modal dialog:
taskkill /F /IM <process name>
taskkill /F /PID <process id>
With taskkill /?
you will get a list of all supported options.