From 06f4ee5d09fd37995d804568d9c258506a84402f Mon Sep 17 00:00:00 2001 From: Anna Dushistova Date: Mon, 28 Jul 2008 22:18:11 +0000 Subject: [PATCH] [235298] Added monitor.begin/done in remoteShellExec method. --- .../eclipse/rse/internal/remotecdt/RemoteRunLaunchDelegate.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rse/examples/org.eclipse.rse.remotecdt/src/org/eclipse/rse/internal/remotecdt/RemoteRunLaunchDelegate.java b/rse/examples/org.eclipse.rse.remotecdt/src/org/eclipse/rse/internal/remotecdt/RemoteRunLaunchDelegate.java index 859ac5f936d..fee8a85bf67 100644 --- a/rse/examples/org.eclipse.rse.remotecdt/src/org/eclipse/rse/internal/remotecdt/RemoteRunLaunchDelegate.java +++ b/rse/examples/org.eclipse.rse.remotecdt/src/org/eclipse/rse/internal/remotecdt/RemoteRunLaunchDelegate.java @@ -292,6 +292,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate { // The exit command is called to force the remote shell to close after our command // is executed. This is to prevent a running process at the end of the debug session. // See Bug 158786. + monitor.beginTask("Executing "+ remoteCommandPath +" "+ arguments, 10); String real_remote_command = arguments == null ? spaceEscapify(remoteCommandPath) : spaceEscapify(remoteCommandPath) + " " + arguments; //$NON-NLS-1$ String remote_command = real_remote_command + CMD_DELIMITER + EXIT_CMD; @@ -312,6 +313,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate { } abort(Messages.RemoteRunLaunchDelegate_7, e, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR); } + monitor.done(); return p; }