Hey! Why not use a after_build hook instead? http://cordova.apache.org/docs/en/latest/guide/appdev/hooks/index.html
On Wed, Feb 24, 2016 at 11:04 AM, Raphael Bircher <rbircherapa...@gmail.com> wrote: > Hi > > I remember that we have had a similar issue on a other project > (OpenOffice Testtool) The only solution was to switch to VBA. As I > know the Batch interpreter has issues with external processes. > > Have a nice day > Raphael > > On Wed, Feb 24, 2016 at 11:54 AM, QiangOffice <qiangoff...@office2016.cc> > wrote: > > Hi Sir, > > I have used cordova develop my app for five months, thank you support > this nice framework for us. > > For convenience, I wrote a batch file to build app automatically, but > there is a catch, after the 'cordova build' command executed, the batch > will end, commands which after 'cordova build' line cannot be executed, so > what can I do to solve this problem? > > Below is my batch file: > > d: > > cd cordovaWorkSpace\MyApp > > cordova build > > copy /y D: \cordovaWorkSpace\MyApp > \platforms\android\build\outputs\apk\android-debug.apk > C:\Users\Administrator\Desktop\myApp.apk > > > > The last line can never be executed because after the 'cordova build' > executed, the cmd window will exit. So please tell me a way to solve this > problem. > > > > Thanks > > > > Name:Qiang > > Email:qiangoff...@office2016.cc > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >