reader.close();
}
}
catch (Exception ignored) { }
return null;
<BUG>}
public static ProcessOutput sudoAndGetOutput(@NotNull final String scriptPath,</BUG>
@NotNull final String prompt) throws IOException, ExecutionException {
return sudoAndGetOutput(scriptPath, prompt, null);
<BUG>}
public static ProcessOutput sudoAndGetOutput(@NotNull final String scriptPath,</BUG>
@NotNull final String prompt,

reader.close();
}
}
catch (Exception ignored) { }
return null;
}
@NotNull
public static ProcessOutput sudoAndGetOutput(@NotNull final String scriptPath,
@NotNull final String prompt) throws IOException, ExecutionException {
return sudoAndGetOutput(scriptPath, prompt, null);
}
@NotNull
public static ProcessOutput sudoAndGetOutput(@NotNull final String scriptPath,
@NotNull final String prompt,
