new-run-webkit-tests: fix crash when running under windows cmd.exe
Created attachment 88943 [details] Patch
Comment on attachment 88943 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88943&action=review > Tools/Scripts/webkitpy/layout_tests/port/http_server.py:217 > + self._process = subprocess.Popen(start_cmd, env=env, stdin=subprocess.PIPE) Would it be better to use devnull?
(In reply to comment #2) > (From update of attachment 88943 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=88943&action=review > > > Tools/Scripts/webkitpy/layout_tests/port/http_server.py:217 > > + self._process = subprocess.Popen(start_cmd, env=env, stdin=subprocess.PIPE) > > Would it be better to use devnull? In limited testing, that does appear to work as well; An advantage to subprocess.PIPE, is that it gets cleaned up automatically when I close the process, which keeps the code slightly cleaner.
Committed r83477: <http://trac.webkit.org/changeset/83477>
*** Bug 54513 has been marked as a duplicate of this bug. ***