Changeset 13472 in josm


Ignore:
Timestamp:
2018-02-26T23:24:47+01:00 (7 years ago)
Author:
Don-vip
Message:

see #15992 - redirect error stream of called processes to standard output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r13468 r13472  
    856856            Logging.debug(join(" ", command));
    857857        }
    858         Process p = new ProcessBuilder(command).start();
     858        Process p = new ProcessBuilder(command).redirectErrorStream(true).start();
    859859        try (BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream(), StandardCharsets.UTF_8))) {
    860860            StringBuilder all = null;
Note: See TracChangeset for help on using the changeset viewer.