.
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 18s

This commit is contained in:
Your Name
2025-05-10 12:51:19 +12:00
parent 9e9d80570c
commit d070baed0a
6 changed files with 80 additions and 11 deletions

View File

@ -33,6 +33,7 @@ private:
* Execute a command locally
* @param command Command to execute
* @param args Command arguments
* @param working_dir Working directory to change to before execution
* @param env Environment variables
* @param silent Whether to suppress output
* @param interactive Whether to enable interactive mode
@ -43,6 +44,7 @@ private:
static int execute_local(
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,
@ -55,6 +57,7 @@ private:
* @param ssh_config SSH configuration
* @param command Command to execute
* @param args Command arguments
* @param working_dir Working directory to change to on the remote server
* @param env Environment variables
* @param silent Whether to suppress output
* @param interactive Whether to enable interactive mode
@ -66,6 +69,7 @@ private:
const nlohmann::json& ssh_config,
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,
@ -78,6 +82,7 @@ private:
* @param run_json JSON specification
* @param command Output parameter for command
* @param args Output parameter for command arguments
* @param working_dir Output parameter for working directory
* @param env Output parameter for environment variables
* @param silent Output parameter for silent option
* @param interactive Output parameter for interactive option
@ -87,6 +92,7 @@ private:
const nlohmann::json& run_json,
std::string& command,
std::vector<std::string>& args,
std::string& working_dir,
std::map<std::string, std::string>& env,
bool& silent,
bool& interactive