Changeset 13487 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-03-03T18:18:36+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r13468 r13487 728 728 return Integer.parseInt(Utils.execOutput(Arrays.asList( 729 729 "powershell", "-Command", "$PSVersionTable.PSVersion.Major"), 2, TimeUnit.SECONDS)); 730 } catch (NumberFormatException | IOException | ExecutionException | InterruptedException e) { 730 } catch (ExecutionException e) { 731 // PowerShell 2.0 (included in Windows 7) does not even support this 732 Logging.debug(e); 733 return -1; 734 } catch (NumberFormatException | IOException | InterruptedException e) { 731 735 Logging.error(e); 732 736 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.