[Aimmath-commit] AIM/WEB-INF/java Maple.java,1.5.4.3,1.5.4.4
Brought to you by:
gustav_delius,
npstrick
From: Neil S. <nps...@us...> - 2005-04-22 07:15:51
|
Update of /cvsroot/aimmath/AIM/WEB-INF/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27120/WEB-INF/java Modified Files: Tag: aim-xml Maple.java Log Message: Index: Maple.java =================================================================== RCS file: /cvsroot/aimmath/AIM/WEB-INF/java/Maple.java,v retrieving revision 1.5.4.3 retrieving revision 1.5.4.4 diff -C2 -d -r1.5.4.3 -r1.5.4.4 *** Maple.java 10 Mar 2005 21:16:00 -0000 1.5.4.3 --- Maple.java 22 Apr 2005 07:15:34 -0000 1.5.4.4 *************** *** 95,99 **** public static void main(String[] args) throws Exception { ! Maple m = new Maple("C:/Program Files/Maple 9/bin.win/cmaple9"); System.out.println("Trying 2+2:"); System.out.println(m.exec("2+2")); --- 95,99 ---- public static void main(String[] args) throws Exception { ! Maple m = new Maple("C:/Program Files/Maple 9.5/bin.win/cmaple9.5"); System.out.println("Trying 2+2:"); System.out.println(m.exec("2+2")); *************** *** 109,114 **** private void startProcess() throws IOException { lastUseTime = new Date(); ! process = Runtime.getRuntime().exec(program + " -q"); mapleInput = process.getOutputStream(); processGobbler = new ProcessGobbler(process); --- 109,117 ---- private void startProcess() throws IOException { + String[] cmd = new String[2]; + cmd[0] = program; + cmd[1] = "-q"; lastUseTime = new Date(); ! process = Runtime.getRuntime().exec(cmd); mapleInput = process.getOutputStream(); processGobbler = new ProcessGobbler(process); |