Changeset 18254 for other-projects


Ignore:
Timestamp:
12/18/08 14:57:49 (12 years ago)
Author:
cc108
Message:

minimize the command prompt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/greenstone3-extension/mat/src/org/greenstone/gsdl3_extension/mat/servlet/MatServlet.java

    r18219 r18254  
    455455    if(System.getProperty("os.name").toLowerCase().indexOf("windows")!=-1){
    456456        File wd = new File(gsdl3Root + fileSeparator + "ext" + fileSeparator + "mat" + fileSeparator + "bin" + fileSeparator +"script");
    457 
    458         String[] arrays = new String[12];
     457   
     458       
     459        String[] arrays = new String[13];
    459460        arrays[0] = "cmd";
    460461        arrays[1] = "/c";
    461462        arrays[2] = "start";   
    462         arrays[3] = "mat-colbuild.bat";
    463         arrays[4] = collName;
    464         arrays[5] = oaiURLString;
    465         arrays[6] = cacheDir;
    466         arrays[7] = "100";
    467         arrays[8] = oaiPrefix;
    468         arrays[9] = gs3Root;
    469         arrays[10] = collectDir;
    470         arrays[11] = logFile;
     463        arrays[3] = "/MIN";
     464        arrays[4] = "mat-colbuild.bat";
     465        arrays[5] = collName;
     466        arrays[6] = oaiURLString;
     467        arrays[7] = cacheDir;
     468        arrays[8] = "100";
     469        arrays[9] = oaiPrefix;
     470        arrays[10] = gs3Root;
     471        arrays[11] = collectDir;
     472        arrays[12] = logFile;
    471473       
    472474        Process p2 = processBatch(arrays,out,wd);
     
    544546        alist.add("/c");
    545547        alist.add("start");
     548        alist.add("/MIN");
    546549        alist.add("mat-colbuild-download.bat");
    547550        alist.add(collName);
Note: See TracChangeset for help on using the changeset viewer.