stdErr handling fot run_container

Enabling stdErr handling fot run_container.sh
This commit is contained in:
lunardunno 2025-03-22 17:47:47 +04:00 committed by GitHub
parent 2634af60a4
commit 9d15371869
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -457,6 +457,10 @@ ErrorCode ServerController::runContainerWorker(const ServerCredentials &credenti
stdOut += data + "\n";
return ErrorCode::NoError;
};
auto cbReadStdErr = [&](const QString &data, libssh::Client &) {
stdOut += data + "\n";
return ErrorCode::NoError;
};
ErrorCode e = runScript(credentials,
replaceVars(amnezia::scriptData(ProtocolScriptType::run_container, container),