mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
mach run --android: show PID
This commit is contained in:
parent
8889742407
commit
fe24816d12
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue