YPC  0.2.0
command_executor.h
1 #pragma once
2 #include <string>
3 
4 namespace ypc {
5 
6 namespace internal {
8 public:
9  static int execute_command(const std::string &cmd, std::string &output);
10 };
11 } // namespace internal
12 
14 public:
15  static int execute_command(const std::string &cmd);
16  static int execute_command(const std::string &cmd, std::string &output);
17 };
18 
19 } // namespace ypc
ypc::command_executor
Definition: command_executor.h:13
ypc::internal::command_executor_helper
Definition: command_executor.h:7