From 08be597207bc83d04d1549b4f3d7c3d9bac8f2f3 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Thu, 16 Nov 2006 10:17:05 +0000 Subject: [PATCH] Improve Javadoc in HostShellProcessAdapter --- .../eclipse/rse/services/shells/HostShellProcessAdapter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rse/plugins/org.eclipse.rse.services/src/org/eclipse/rse/services/shells/HostShellProcessAdapter.java b/rse/plugins/org.eclipse.rse.services/src/org/eclipse/rse/services/shells/HostShellProcessAdapter.java index bc341226121..e728e464ffa 100644 --- a/rse/plugins/org.eclipse.rse.services/src/org/eclipse/rse/services/shells/HostShellProcessAdapter.java +++ b/rse/plugins/org.eclipse.rse.services/src/org/eclipse/rse/services/shells/HostShellProcessAdapter.java @@ -84,6 +84,10 @@ IHostShellOutputListener { if(hostShell.isActive()) throw new IllegalThreadStateException(); // No way to tell what the exit value was. + // TODO it would be possible to get the exit value + // when the remote process is started like this: + // sh -c 'remotecmd ; echo "-->RSETAG<-- $?\"' + // Then the output steram could be examined for -->RSETAG<-- to get the exit value. return 0; }