Improve diff algorithm

This commit is contained in:
2025-03-28 03:49:00 +03:00
parent 30faa32792
commit bb5b00da11
4 changed files with 59 additions and 58 deletions

View File

@@ -364,11 +364,7 @@ public class NoBuild {
* @throws Exception
*/
public static int commandThrows(String... command) throws IOException {
ProcessBuilder pb =
new ProcessBuilder(command)
.redirectInput(Redirect.INHERIT)
.redirectOutput(Redirect.INHERIT)
.redirectError(Redirect.INHERIT);
ProcessBuilder pb = new ProcessBuilder(command).inheritIO();
Process process;
try {
process = pb.start();