You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/03/23 00:13:25 UTC
[jira] [Commented] (CB-10751) Cordova CLI terminate batch files
[ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org