[
https://issues.apache.org/jira/browse/CB-10751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15207495#comment-15207495
]
Nikhil Khandelwal commented on CB-10751:
----------------------------------------
To ensure it does not terminate your batch script use the "CALL" batch command:
{code}
echo hello
call cordova -v
echo world
{code}
> Cordova CLI terminate batch files
> ---------------------------------
>
> Key: CB-10751
> URL: https://issues.apache.org/jira/browse/CB-10751
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 6.1.0
> Environment: Windows
> Reporter: Paul Hickman
> Priority: Minor
> Labels: windows
>
> If you create a file test.cmd file with the following 3 lines:
> echo hello
> cordova -v
> echo world
> and run it in a DOS window, it terminates after displaying the cordova
> version and doesn't run the 2nd echo command. This occurs whatever arguments
> you give cordova in a batch file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]