dropshell/runner/runner.h
Your Name 39e083898f
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 19s
GPT 4.1 trying
2025-05-10 14:06:30 +12:00

25 lines
483 B
C++

#pragma once
#include <string>
#include <vector>
#include <map>
namespace runner {
struct sSSHInfo {
std::string host;
std::string user;
std::string port;
};
int execute_cmd(
const std::string& command,
const std::vector<std::string>& args,
const std::string& working_dir,
const std::map<std::string, std::string>& env,
bool silent,
bool interactive,
sSSHInfo* sshinfo = nullptr,
std::string* output = nullptr
);
} // namespace runner