I am running this batch process on Windows cmd in order to update some files on a project - since the framework doesn't allow to update a plugin I am uninstalling, cleaning up and reinstalling, but that's not related to the question.
My problem is that something on the first command, inside the ionic.cmd process, stops the entire process, even when successful. I suppose it features some kind of exit statement which halts the entire process and returns me to the cmd prompt without running next files.
I have tried to change that command by some bus-process embedding like START cmd /K ...
and so, with no success. So, how can I batch run that command without the whole script stopping at that line?
@echo off
pushd %~dp0\..
ionic cordova plugin remove com.mirasense.scanditsdk.plugin
del "platforms\android\app\src\main\res\drawable\*.xml"
del "platforms\android\app\src\main\res\layout\*.xml"
del "platforms\android\app\src\main\res\values\colors.xml"
ionic cordova plugin add lib\scandit
popd