Outsourced command execution to service
This commit is contained in:
11
include/ShellService.h
Normal file
11
include/ShellService.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SHELL_SERVICE_H
|
||||
#define SHELL_SERVICE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class ShellService {
|
||||
public:
|
||||
static std::string exec(const std::string& command);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user