Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-12-04 06:09:47 -0500
committerUwe Stieber2013-12-04 06:09:47 -0500
commitf79a996a7e8c9fa3d6f07f1f2bc5bc9c8c84308c (patch)
tree1ddcf2782b142e521df73e55a1b27fcdb06ec1c2
parenta59a4d794d802d23659fa59ab47db8aa3aee8a0c (diff)
downloadorg.eclipse.tcf-f79a996a7e8c9fa3d6f07f1f2bc5bc9c8c84308c.tar.gz
org.eclipse.tcf-f79a996a7e8c9fa3d6f07f1f2bc5bc9c8c84308c.tar.xz
org.eclipse.tcf-f79a996a7e8c9fa3d6f07f1f2bc5bc9c8c84308c.zip
Target Explorer: Flush the output stream writer after writing "quit"
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
index 3f7b36513..92d977bf3 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
@@ -63,6 +63,7 @@ public abstract class AbstractExternalValueAdd extends AbstractValueAdd {
try {
writer = new BufferedWriter(new OutputStreamWriter(process.getOutputStream()));
writer.write("quit"); //$NON-NLS-1$
+ writer.flush();
// Check the process exit code
long start = System.currentTimeMillis();

Back to the top