Created
February 13, 2014 20:00
-
-
Save dhylands/8982681 to your computer and use it in GitHub Desktop.
Python way to tell if b2g is running
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
import include.device_utils as utils | |
try: | |
(master_pid, child_pids) = utils.get_remote_b2g_pids() | |
print "B2G is running" | |
except: | |
print "B2G is NOT running" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment