mach run --android: show PID

This commit is contained in:
Simon Sapin 2018-06-25 18:49:32 +02:00
parent 8889742407
commit fe24816d12

View file

@ -91,6 +91,8 @@ class PostBuildCommands(CommandBase):
]
script += [
"am start com.mozilla.servo/com.mozilla.servo.MainActivity",
"sleep 0.5",
"echo Servo PID: $(pidof com.mozilla.servo)",
"exit"
]
shell = subprocess.Popen([self.android_adb_path(env), "shell"], stdin=subprocess.PIPE)