YPC
0.2.0
include
ypc
core
command_executor.h
1
#pragma once
2
#include <string>
3
4
namespace
ypc {
5
6
namespace
internal {
7
class
command_executor_helper
{
8
public
:
9
static
int
execute_command(
const
std::string &cmd, std::string &output);
10
};
11
}
// namespace internal
12
13
class
command_executor
{
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
Generated by
1.8.17