Skip to content

Commit

Permalink
Update ESP32FS.java
Browse files Browse the repository at this point in the history
Changed line beginnings of transferred OUTPUT and ERROR from exec to console to look clieaner
  • Loading branch information
lorol authored Dec 23, 2020
1 parent dd1b866 commit 71708de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ESP32FS.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ private int listenOnProcess(String[] arguments){
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(arguments);
// any error message?
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "E");
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "_");

// any output?
StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "O");
StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "-");

// kick them off
errorGobbler.start();
Expand Down

0 comments on commit 71708de

Please sign in to comment.