From f2afd7cb694b2b0650769d736503f65e90c02e25 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 7 Aug 2020 18:40:58 +0200 Subject: [PATCH] faster test with --version --- src/main/java/com/sparrowwallet/sparrow/io/Hwi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index a5fa44f9..e269d6de 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java @@ -235,7 +235,7 @@ public class Hwi { private boolean testHwi(File hwiExecutable) { try { - List command = List.of(hwiExecutable.getAbsolutePath(), "enumerate"); + List command = List.of(hwiExecutable.getAbsolutePath(), "--version"); ProcessBuilder processBuilder = new ProcessBuilder(command); Process process = processBuilder.start(); int exitValue = process.waitFor();