Pipe through temp folder to scripts.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user