void (String... command) { if (LOG.isDebugEnabled()) LOG.debug(Arrays.toString(command)); ProcessIOExecutorService.INSTANCE.execute(() -> { try { CapturingProcessHandler handler; if (SystemInfo.isWindows) { assert command.length == 1 : Arrays.toString(command); Process process = Runtime.getRuntime().exec(command[0]); // no quoting/escaping is needed handler = new CapturingProcessHandler.Silent(process, null, command[0]); } else { handler = new CapturingProcessHandler.Silent(new GeneralCommandLine(command)); } handler.runProcess(10000, false).checkSuccess(LOG); } catch (Exception e) { LOG.warn(e); } }); }