Pipe through temp folder to scripts.

This commit is contained in:
Your Name
2025-05-05 20:11:36 +12:00
parent 7c9a45edf5
commit e727fc518f
9 changed files with 103 additions and 27 deletions

View File

@ -102,6 +102,17 @@ class service_runner {
public:
};
class cRemoteTempFolder {
public:
cRemoteTempFolder(const server_env_manager & server_env); // create a temp folder on the remote server
~cRemoteTempFolder(); // delete the temp folder on the remote server
std::string path() const; // get the path to the temp folder on the remote server
private:
std::string mPath;
const server_env_manager & mServerEnv;
};
// other utility routines (not specific to service_runner)
void interactive_ssh(const std::string & server_name, const std::string & command);