Skip to content

Commit

Permalink
fIXeD fDr
Browse files Browse the repository at this point in the history
  • Loading branch information
CoocooFroggy committed Aug 11, 2021
1 parent 58429a4 commit aca8b7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/FutureRestoreWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ static void runFutureRestore(String futureRestoreFilePath, ArrayList<String> all

ProcessBuilder processBuilder = new ProcessBuilder();
processBuilder.command(allArgsArray);
// Merge error stream into the OutputStream
processBuilder.redirectErrorStream(true);
processBuilder.directory(frGuiDirectory);

futureRestoreProcess = processBuilder.start();

// Remember that OutputStream is our input into FutureRestore — which needs none
futureRestoreProcess.getOutputStream().close();
// futureRestoreProcess.getErrorStream().close();

Expand Down Expand Up @@ -89,7 +91,7 @@ static void runFutureRestore(String futureRestoreFilePath, ArrayList<String> all
put("Connecting to FDR", "Connecting to FDR client...");
put("About to send NOR", "About to send NOR data...");
put("Connecting to ASR", "Connecting to ASR...");
put("waiting for message", "Waiting for message from FDR...");
// put("waiting for message", "Waiting for message from FDR...");

//Special messages
put("Status: Restore Finished", "Restore Finished!");
Expand Down

0 comments on commit aca8b7e

Please sign in to comment.