[NoBuild] Inherit stdin to correctly inform isTerminal
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user