PDA

View Full Version : Error with "Kill Process"


rosvb
04-19-2021, 01:42 AM
Hi,

we are using Visual Build Professional 10.5 (x64).
When calling Kill Process for the process "firefox.exe" the action failed.

Error message
Error in Action (VBScript) script code at Line 33, Column 5 (Not found )

Thanks for your help.

kinook
04-20-2021, 07:56 AM
In our tests, the process is terminated, even though the Terminate call returns an error. You can configure the step to continue building on failure.

https://kinook.com/VisBuildPro/Manual/stepfailure.htm

Alternatively, use a Run Program step with a command of

taskkill /im firefox.exe /f

https://kinook.com/VisBuildPro/Manual/runprogramaction.htm

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/taskkill