[NoBuild] Inherit stdin to correctly inform isTerminal

This commit is contained in:
naofal.helal
2025-03-25 12:08:57 +03:00
parent 0eb738a429
commit 81477fdbc7

View File

@@ -343,6 +343,7 @@ public class NoBuild {
public static int commandThrows(String... command) throws IOException {
ProcessBuilder pb =
new ProcessBuilder(command)
.redirectInput(Redirect.INHERIT)
.redirectOutput(Redirect.INHERIT)
.redirectError(Redirect.INHERIT);
Process process;