Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py

Issue 2470663004: Synchronous adb shell and pull for loopback start script (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py
diff --git a/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py b/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py
index a2664615905d90a43c862f38dbea5b118fa0b17d..b3a9e2ee9deee1fb3fb2b535c2d82665a5381e80 100644
--- a/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py
+++ b/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py
@@ -74,7 +74,7 @@ def main():
# Delete output video file.
if videoout:
- subprocess.Popen(['adb', '-s', devname, 'shell', 'rm',
+ subprocess.check_call(['adb', '-s', devname, 'shell', 'rm',
videoout])
device = MonkeyRunner.waitForConnection(2, devname)
@@ -116,7 +116,7 @@ def main():
if videooutsave:
time.sleep(2)
- subprocess.Popen(['adb', '-s', devname, 'pull',
+ subprocess.check_call(['adb', '-s', devname, 'pull',
videoout, videooutsave])
if __name__ == '__main__':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698