Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-02-25 09:12:15 -0500
committerUwe Stieber2014-02-25 09:12:15 -0500
commit6152f3e2b29e7b3bae064b4b60cc47da72e52059 (patch)
treebc69b8cbfca67a0f2c0a9e2decf0ba8283d33000
parente156230dd40c9a0278c35e95a545458431e4a334 (diff)
downloadorg.eclipse.tcf-6152f3e2b29e7b3bae064b4b60cc47da72e52059.tar.gz
org.eclipse.tcf-6152f3e2b29e7b3bae064b4b60cc47da72e52059.tar.xz
org.eclipse.tcf-6152f3e2b29e7b3bae064b4b60cc47da72e52059.zip
Target Explorer: Fix call to environment merge. It's always a terminal if called from the Process terminal connector
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
index 233d940b8..7b8bff3f6 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
@@ -154,7 +154,7 @@ public class ProcessConnector extends AbstractStreamsConnector {
process = ProcessFactory.getFactory().exec(argv.toArray(new String[argv.size()]), Env.getEnvironment(envp, true), workingDir, pty);
} else {
// No PTY -> just execute via the standard Java Runtime implementation.
- process = Runtime.getRuntime().exec(command.toString(), Env.getEnvironment(envp, false), workingDir);
+ process = Runtime.getRuntime().exec(command.toString(), Env.getEnvironment(envp, true), workingDir);
}
}

Back to the top