mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-17 21:32:33 +01:00
faster test with --version
This commit is contained in:
parent
42d40b8171
commit
f2afd7cb69
@ -235,7 +235,7 @@ public class Hwi {
|
||||
|
||||
private boolean testHwi(File hwiExecutable) {
|
||||
try {
|
||||
List<String> command = List.of(hwiExecutable.getAbsolutePath(), "enumerate");
|
||||
List<String> command = List.of(hwiExecutable.getAbsolutePath(), "--version");
|
||||
ProcessBuilder processBuilder = new ProcessBuilder(command);
|
||||
Process process = processBuilder.start();
|
||||
int exitValue = process.waitFor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user