ChromeProcess: Use the --disable-crash-reporter command-line option

This avoids an ownership conflict over /tmp/Crashpad.
This commit is contained in:
Alex Osborne
2022-04-08 12:25:30 +09:00
parent f2af65122c
commit 0378e0d123
@@ -60,7 +60,8 @@ public class ChromeProcess implements Closeable {
}
private static Process launch(String executable) throws IOException {
return new ProcessBuilder(executable, "--headless", "--remote-debugging-port=0").inheritIO()
return new ProcessBuilder(executable, "--headless", "--remote-debugging-port=0",
"--disable-crash-reporter").inheritIO()
.redirectError(ProcessBuilder.Redirect.PIPE).start();
}