Changeset 8540 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
- Timestamp:
- 2015-06-27T21:43:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r8518 r8540 261 261 if ("Linux".equalsIgnoreCase(osName)) { 262 262 try { 263 // Try lsb_release (only available on LSB-compliant Linux systems, see https://www.linuxbase.org/lsb-cert/productdir.php?by_prod ) 263 // Try lsb_release (only available on LSB-compliant Linux systems, 264 // see https://www.linuxbase.org/lsb-cert/productdir.php?by_prod ) 264 265 Process p = Runtime.getRuntime().exec("lsb_release -ds"); 265 266 try (BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream(), StandardCharsets.UTF_8))) {
Note:
See TracChangeset
for help on using the changeset viewer.