mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-01-03 18:58:17 +00:00
InheritIO
This commit is contained in:
parent
e8b749cfdf
commit
2654610189
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue