How do you close UI. Vision itself in the macro?

I wrote a batch file in Windows. The first line starts the UI Vision macro, and macro does its script, but it never goes to the next line in the batch, because the batch does not know that the prcess is finished.

In order to make it work, I have to close both Chrome browser (I can do this part), and UI.Vision itself in the macro. How can do it?

I assume you start the RPA software via the command line? If so, add &closeRPA=1&closeBrowser=1

I am so sorry for late reply. I found that running another batch file to kill the task does it.
Where do I add this “&closeRPA=1&closeBrowser=1” ?

I start the process in .bat, and the first line is:
“C:\Program Files\Google\Chrome\Application\chrome.exe” “file:///F:/SS_each_backup_for_batch_process.html”

Adding it at the end of …process.html would not start the process, because Chrome does not find the html file.