From 2654610189ff99c146bf670991c007d66d38b0cd Mon Sep 17 00:00:00 2001 From: business-goose Date: Mon, 21 Mar 2022 20:53:12 +0000 Subject: [PATCH] InheritIO --- .../StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java b/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java index a013a9e..3f8529d 100644 --- a/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java +++ b/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java @@ -25,6 +25,7 @@ public class Command_updatetfm extends FreedomCommand { System.out.println(command); ProcessBuilder proc = new ProcessBuilder("/bin/bash", "-c", command); proc.redirectErrorStream(true); + proc.inheritIO(); Process process = proc.start(); process.waitFor(); System.out.println(proc.redirectOutput());