|
From: David C. <dc...@us...> - 2005-09-24 12:44:10
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3554/src/org/rubypeople/rdt/internal/launching Modified Files: RubyInterpreter.java Log Message: Fix problem in "arg parsing". Index: RubyInterpreter.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RubyInterpreter.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RubyInterpreter.java 22 Sep 2005 00:49:57 -0000 1.10 --- RubyInterpreter.java 24 Sep 2005 12:44:02 -0000 1.11 *************** *** 48,57 **** } - //public Process exec(String arguments, File workingDirectory) throws IOException, IllegalCommandException { - // return Runtime.getRuntime().exec(this.getCommand() + " " + arguments, null, workingDirectory); - //} - public Process exec(String arguments, File workingDirectory) throws CoreException { ! List argList = Arrays.asList(arguments.split("\\s+")); return exec(argList, workingDirectory); } --- 48,53 ---- } public Process exec(String arguments, File workingDirectory) throws CoreException { ! List argList = Arrays.asList(arguments.trim().split("\\s+")); return exec(argList, workingDirectory); } |