faster test with --version

This commit is contained in:
Craig Raw 2020-08-07 18:40:58 +02:00
parent 42d40b8171
commit f2afd7cb69

View file

@ -235,7 +235,7 @@ public class Hwi {
private boolean testHwi(File hwiExecutable) { private boolean testHwi(File hwiExecutable) {
try { try {
List<String> command = List.of(hwiExecutable.getAbsolutePath(), "enumerate"); List<String> command = List.of(hwiExecutable.getAbsolutePath(), "--version");
ProcessBuilder processBuilder = new ProcessBuilder(command); ProcessBuilder processBuilder = new ProcessBuilder(command);
Process process = processBuilder.start(); Process process = processBuilder.start();
int exitValue = process.waitFor(); int exitValue = process.waitFor();