return execute(command, rec, monitor, true);
}
- protected ICommandStatus execute(String command, PackageManagerOuputReceiver rec,
- int timeout, IProgressMonitor monitor) {
+ protected ICommandStatus execute(String command, PackageManagerOuputReceiver rec, int timeout,
+ IProgressMonitor monitor) {
return execute(command, rec, monitor, true);
}
String passwd = SudoPasswdManager.getSudoPassword();
String command = String.format("echo %s | sudo -S cp %s %s", passwd, srcPath,
toFilePath.toOSString());
- ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec,
- null);
+ ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec, null);
if (!status.isOk()) {
logger.error(status.getMessage(), status.getException());
return status;
}
- printResultLog(String.format("Copied file: %s \n " +
- "-> %s", srcPath, toFilePath.toOSString()));
+ printResultLog(String.format("Copied file: %s \n " + "-> %s", srcPath,
+ toFilePath.toOSString()));
value.add(pathOnRootstrap.toOSString());
return new CommandStatus(IStatus.OK, value, null);
}
String passwd = SudoPasswdManager.getSudoPassword();
String command = String.format("echo %s | sudo -S rm -f %s", passwd,
toFilePath.toOSString());
- ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec,
- null);
+ ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec, null);
if (!status.isOk()) {
logger.error(status.getMessage(), status.getException());
return status;
String passwd = SudoPasswdManager.getSudoPassword();
String command = String.format("echo %s | sudo -S mkdir -p %s", passwd,
toFilePath.toOSString());
- ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec,
- null);
+ ICommandStatus status = CommandLauncherOnRootstrap.execute(command, null, rec, null);
if (!status.isOk()) {
logger.error(status.getMessage(), status.getException());
return status;
public ICommandStatus launchApp(String appId) {
return null;
}
+
+ @Override
+ public ICommandStatus executeBinary(String binary) {
+ return null;
+ }
}