You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by cs...@apache.org on 2013/10/29 22:37:13 UTC

ios commit: CB-5217: cordova emulate ios doesn't exit

Updated Branches:
  refs/heads/master 404f6ea2c -> 9a63bb79d


CB-5217: cordova emulate ios doesn't exit


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/9a63bb79
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/9a63bb79
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/9a63bb79

Branch: refs/heads/master
Commit: 9a63bb79d7498d94436a795cb7c9b1e2a0b23da3
Parents: 404f6ea
Author: Carlos Santana <cs...@gmail.com>
Authored: Tue Oct 29 17:31:58 2013 -0400
Committer: Carlos Santana <cs...@gmail.com>
Committed: Tue Oct 29 17:31:58 2013 -0400

----------------------------------------------------------------------
 bin/templates/scripts/cordova/emulate | 2 +-
 bin/templates/scripts/cordova/run     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/9a63bb79/bin/templates/scripts/cordova/emulate
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/emulate b/bin/templates/scripts/cordova/emulate
index 70aa6a4..7878c78 100755
--- a/bin/templates/scripts/cordova/emulate
+++ b/bin/templates/scripts/cordova/emulate
@@ -56,4 +56,4 @@ if [[ "$IOS_SIM_VERSION" < "$IOS_SIM_MIN_VERSION" ]]; then
 fi
 
 # launch using ios-sim
-ios-sim launch "$APP_PATH" --family "$DEVICE_FAMILY" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" &
+ios-sim launch "$APP_PATH" --family "$DEVICE_FAMILY" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" --exit

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/9a63bb79/bin/templates/scripts/cordova/run
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/run b/bin/templates/scripts/cordova/run
index 5c6bd0d..2d9740a 100755
--- a/bin/templates/scripts/cordova/run
+++ b/bin/templates/scripts/cordova/run
@@ -148,4 +148,4 @@ if [[ "$IOS_SIM_VERSION" < "$IOS_SIM_MIN_VERSION" ]]; then
 fi
 
 # launch using ios-sim
-ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" $TARGET_FLAG &
+ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" $TARGET_FLAG --exit