Changeset 1100


Ignore:
Timestamp:
Jun 24, 2011, 6:51:24 PM (6 years ago)
Author:
stefan
Message:

simple enhancement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/Aspell.java

    r1093 r1100  
    313313   */
    314314  public static List<String> availableDicts() throws IOException {
    315     // TODO: use SystemUtils.startProcess instead
    316     Process process = Runtime.getRuntime().exec(new String[]{
     315    Process process = ProcessUtil.exec(new String[]{
    317316            ASPELL_EXECUTABLE,
    318317            "dump",
    319318            "dicts"
    320     });
     319    }, new File(System.getProperty("user.dir")));
    321320    BufferedReader r = new BufferedReader(new InputStreamReader(process.getInputStream()));
    322321
Note: See TracChangeset for help on using the changeset viewer.