File tree 1 file changed +8
-8
lines changed
io.sloeber.core/src/io/sloeber/core/tools
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -152,14 +152,14 @@ public ExternalCommandLauncher(String command) {
152
152
String [] commandParts = command
153
153
.split (" +(?=([^\" ]*\" [^\" ]*\" )*[^\" ]*$)" ); //$NON-NLS-1$
154
154
//TODO do we really want to remove the quotes?
155
- for (int curCommand = 0 ; curCommand < commandParts .length ; curCommand ++) {
156
- if (commandParts [curCommand ].startsWith ("\" " ) //$NON-NLS-1$
157
- && commandParts [curCommand ].endsWith ("\" " )) { //$NON-NLS-1$
158
- commandParts [curCommand ] = commandParts [curCommand ].substring (1 ,
159
- commandParts [curCommand ].length () - 1 );
160
- }
161
-
162
- }
155
+ // for (int curCommand = 0; curCommand < commandParts.length; curCommand++) {
156
+ // if (commandParts[curCommand].startsWith("\"") //$NON-NLS-1$
157
+ // && commandParts[curCommand].endsWith("\"")) { //$NON-NLS-1$
158
+ // commandParts[curCommand] = commandParts[curCommand].substring(1,
159
+ // commandParts[curCommand].length() - 1);
160
+ // }
161
+ //
162
+ // }
163
163
myProcessBuilder = new ProcessBuilder (Arrays .asList (commandParts ));
164
164
myProcessBuilder .redirectErrorStream (true );
165
165
}
You can’t perform that action at this time.
0 commit comments