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

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

Issue 2502783005: Better delete of file in loopback 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 b3a9e2ee9deee1fb3fb2b535c2d82665a5381e80..491af38f68e9e8ca864848db19ce6f2ac8a5bc20 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.check_call(['adb', '-s', devname, 'shell', 'rm',
+ subprocess.check_call(['adb', '-s', devname, 'shell', 'rm', '-f',
videoout])
device = MonkeyRunner.waitForConnection(2, devname)
« 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