Lines 199-204
Link Here
|
199 |
String name; |
199 |
String name; |
200 |
String termPath; |
200 |
String termPath; |
201 |
|
201 |
|
|
|
202 |
// Format string arguments: |
203 |
// 0 - file to store return code |
204 |
// 1 - executable name (quated if need, i.e. if it contains spaces, asterisks, etc.) |
205 |
// 2 - args (quated if need, i.e. if it contains spaces, asterisks, etc.) |
206 |
// 3 - the same as {3}, but quotes are escaped with '\' |
207 |
// 4 - (added by VK: the same as {1}, but quotes are escaped with '\' |
208 |
// fixing #178201 Run fails if 'Show profiling indicators' is off and the project is created in folder with space |
202 |
list.add(def); |
209 |
list.add(def); |
203 |
if (isWindows()) { |
210 |
if (isWindows()) { |
204 |
String term = getString("TerminalType_CommandWindow"); // NOI18N |
211 |
String term = getString("TerminalType_CommandWindow"); // NOI18N |
Lines 220-226
Link Here
|
220 |
list.add(name); |
227 |
list.add(name); |
221 |
termPaths.put(name, termPath); |
228 |
termPaths.put(name, termPath); |
222 |
termPaths.put(def, termPath); |
229 |
termPaths.put(def, termPath); |
223 |
String opts = "--disable-factory --hide-menubar " + "--title=\"{1} {3}\" " + // NOI18N |
230 |
String opts = "--disable-factory --hide-menubar " + "--title=\"{4} {3}\" " + // NOI18N |
224 |
"-x \"" + dorun + "\" -p \"" + getString("LBL_RunPrompt") + "\" " + // NOI18N |
231 |
"-x \"" + dorun + "\" -p \"" + getString("LBL_RunPrompt") + "\" " + // NOI18N |
225 |
"-f \"{0}\" {1} {2}"; // NOI18N |
232 |
"-f \"{0}\" {1} {2}"; // NOI18N |
226 |
termOptions.put(name, opts); |
233 |
termOptions.put(name, opts); |