Changeset 9666


Ignore:
Timestamp:
2005-04-14T09:49:37+12:00 (19 years ago)
Author:
mdewsnip
Message:

ImageMagickTest seems to need the "-version" argument to work correctly on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r9580 r9666  
    815815    {
    816816        try {
    817         String command = (Utility.isWindows() ? "identify.exe" : "identify");
     817        String[] command = new String[2];
     818        command[0] = (Utility.isWindows() ? "identify.exe" : "identify");
     819        command[1] = "-version";
    818820        Process image_magick_process = Runtime.getRuntime().exec(command);
    819821        image_magick_process.waitFor();
Note: See TracChangeset for help on using the changeset viewer.