mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 23:35:48 +02:00
default terminal to true
This commit is contained in:
parent
8cec1f832b
commit
8692efd446
2 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class LocalRunLaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
command.add(exePath.toOSString());
|
command.add(exePath.toOSString());
|
||||||
command.addAll(Arrays.asList(arguments));
|
command.addAll(Arrays.asList(arguments));
|
||||||
String[] commandArray = (String[]) command.toArray(new String[command.size()]);
|
String[] commandArray = (String[]) command.toArray(new String[command.size()]);
|
||||||
boolean usePty = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_USE_TERMINAL, false);
|
boolean usePty = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_USE_TERMINAL, true);
|
||||||
monitor.worked(5);
|
monitor.worked(5);
|
||||||
Process process = exec(commandArray, getEnvironment(config), wd, usePty);
|
Process process = exec(commandArray, getEnvironment(config), wd, usePty);
|
||||||
monitor.worked(3);
|
monitor.worked(3);
|
||||||
|
|
|
@ -239,6 +239,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
filterPlatform = getPlatform(config);
|
filterPlatform = getPlatform(config);
|
||||||
updateProjectFromConfig(config);
|
updateProjectFromConfig(config);
|
||||||
updateProgramFromConfig(config);
|
updateProgramFromConfig(config);
|
||||||
|
updateTerminalFromConfig(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void updateTerminalFromConfig(ILaunchConfiguration config) {
|
protected void updateTerminalFromConfig(ILaunchConfiguration config) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue