Created
August 16, 2013 19:04
-
-
Save Red-Folder/6252606 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Output "Checking if the app has finished" | |
$resultCode = 0 | |
& adb shell ps 2>&1 | % {if($_.contains("com.red_folder.phonegap.plugin.backgroundservice.sample")) { Write-Output "App is still running"; $resultCode = -1 } } | |
exit $resultCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment