mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
[235298] Added monitor.begin/done in remoteShellExec method.
This commit is contained in:
parent
2d6802e65f
commit
06f4ee5d09
1 changed files with 2 additions and 0 deletions
|
@ -292,6 +292,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
// The exit command is called to force the remote shell to close after our command
|
// 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.
|
// is executed. This is to prevent a running process at the end of the debug session.
|
||||||
// See Bug 158786.
|
// See Bug 158786.
|
||||||
|
monitor.beginTask("Executing "+ remoteCommandPath +" "+ arguments, 10);
|
||||||
String real_remote_command = arguments == null ? spaceEscapify(remoteCommandPath) :
|
String real_remote_command = arguments == null ? spaceEscapify(remoteCommandPath) :
|
||||||
spaceEscapify(remoteCommandPath) + " " + arguments; //$NON-NLS-1$
|
spaceEscapify(remoteCommandPath) + " " + arguments; //$NON-NLS-1$
|
||||||
String remote_command = real_remote_command + CMD_DELIMITER + EXIT_CMD;
|
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);
|
abort(Messages.RemoteRunLaunchDelegate_7, e, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR);
|
||||||
}
|
}
|
||||||
|
monitor.done();
|
||||||
return p;
|
return p;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue