diff --git a/rse/plugins/org.eclipse.rse.subsystems.shells.local/src/org/eclipse/rse/subsystems/shells/local/model/LocalServiceCommandShell.java b/rse/plugins/org.eclipse.rse.subsystems.shells.local/src/org/eclipse/rse/subsystems/shells/local/model/LocalServiceCommandShell.java index bb4e495e7b0..73b75dba262 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.shells.local/src/org/eclipse/rse/subsystems/shells/local/model/LocalServiceCommandShell.java +++ b/rse/plugins/org.eclipse.rse.subsystems.shells.local/src/org/eclipse/rse/subsystems/shells/local/model/LocalServiceCommandShell.java @@ -134,11 +134,18 @@ public class LocalServiceCommandShell extends ServiceCommandShell addOutput(output); outputs[i] = output; } - if (_lastRefreshJob == null || _lastRefreshJob.isComplete()) + //if (_lastRefreshJob == null || _lastRefreshJob.isComplete()) { _lastRefreshJob = new OutputRefreshJob(this, outputs, false); _lastRefreshJob.schedule(); } + /* + else + { + _lastRefreshJob.addOutputs(outputs); + _lastRefreshJob.schedule(); + } + */ } public void writeToShell(String cmd) diff --git a/rse/plugins/org.eclipse.rse.subsystems.shells.ssh/src/org/eclipse/rse/subsystems/shells/ssh/SshServiceCommandShell.java b/rse/plugins/org.eclipse.rse.subsystems.shells.ssh/src/org/eclipse/rse/subsystems/shells/ssh/SshServiceCommandShell.java index 1a3dda16442..61eafaf303d 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.shells.ssh/src/org/eclipse/rse/subsystems/shells/ssh/SshServiceCommandShell.java +++ b/rse/plugins/org.eclipse.rse.subsystems.shells.ssh/src/org/eclipse/rse/subsystems/shells/ssh/SshServiceCommandShell.java @@ -160,12 +160,19 @@ public class SshServiceCommandShell extends ServiceCommandShell implements ISyst addOutput(output); outputs.add(output); } - if (_lastRefreshJob == null || _lastRefreshJob.isComplete()) + IRemoteOutput[] remoteOutputs = (IRemoteOutput[])outputs.toArray(new IRemoteOutput[outputs.size()]); + //if (_lastRefreshJob == null || _lastRefreshJob.isComplete()) { - IRemoteOutput[] remoteOutputs = (IRemoteOutput[])outputs.toArray(new IRemoteOutput[outputs.size()]); _lastRefreshJob = new OutputRefreshJob(this, remoteOutputs, false); _lastRefreshJob.schedule(); } + /* + else + { + _lastRefreshJob.addOutputs(remoteOutputs); + _lastRefreshJob.schedule(); + } + */ } /**