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 b2268aa commit e995308
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 e995308

Please sign in to comment.