1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[235298] Added monitor.begin/done in remoteShellExec method.

This commit is contained in:
Anna Dushistova 2008-07-28 22:18:11 +00:00
parent 2d6802e65f
commit 06f4ee5d09

View file

@ -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;
}