mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +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.addAll(Arrays.asList(arguments));
|
||||
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);
|
||||
Process process = exec(commandArray, getEnvironment(config), wd, usePty);
|
||||
monitor.worked(3);
|
||||
|
|
|
@ -239,6 +239,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
|||
filterPlatform = getPlatform(config);
|
||||
updateProjectFromConfig(config);
|
||||
updateProgramFromConfig(config);
|
||||
updateTerminalFromConfig(config);
|
||||
}
|
||||
|
||||
protected void updateTerminalFromConfig(ILaunchConfiguration config) {
|
||||
|
|
Loading…
Add table
Reference in a new issue