c0b4c4a3c4dc6f160ab46467d1d021626801f982

On Windows, sometimes the compare_videos.py script fails because the inherited stdin handle from the parent process fails. It seems we can work around this by passing null to stdin to the subprocesses, since we're not using it anyway. The errors looked like this: Traceback (most recent call last): File "C:\b\build\slave\Win7_Tester\build\src\third_party/webrtc/tools/compare_videos.py", line 116, in <module> sys.exit(main()) File "C:\b\build\slave\Win7_Tester\build\src\third_party/webrtc/tools/compare_videos.py", line 91, in main barcode_decoder = subprocess.Popen(cmd, stdout=sys.stdout, stderr=sys.stderr) File "C:\b\depot_tools\python_bin\lib\subprocess.py", line 588, in __init__ errread, errwrite) = self._get_handles(stdin, stdout, stderr) File "C:\b\depot_tools\python_bin\lib\subprocess.py", line 686, in _get_handles p2cread = GetStdHandle(STD_INPUT_HANDLE) WindowsError: [Error 6] The handle is invalid Example from http://build.chromium.org/p/chromium.webrtc/builders/Win7%20Tester/builds/4498/steps/webrtc_manual_browser_tests_test/logs/stdio BUG=302915 TEST=successful runs on Windows and Linux. R=phoglund@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2334005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4902 4adac7df-926f-26a2-2b94-8c16560cd09d
Description
No description provided
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%