Ignore:
Timestamp:
2014-04-07T23:49:09+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - rework apturl stuff

File:
1 edited

Legend:

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

    r6889 r6962  
    804804     */
    805805    public static String execOutput(List<String> command) throws IOException {
     806        if (Main.isDebugEnabled()) {
     807            Main.debug(join(" ", command));
     808        }
    806809        Process p = new ProcessBuilder(command).start();
    807810        BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
     
    817820        }
    818821        Utils.close(input);
    819         return all.toString();
     822        return all != null ? all.toString() : null;
    820823    }
    821824
Note: See TracChangeset for help on using the changeset viewer.