- add OsProcess::execSystem() implementation for Windows
This commit is contained in:
parent
cf89c17e66
commit
3eacafd1c8
|
|
@ -12,6 +12,11 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "helper/HL_String.h"
|
#include "helper/HL_String.h"
|
||||||
|
|
||||||
|
int OsProcess::execSystem(const std::string& cmd)
|
||||||
|
{
|
||||||
|
return system(cmd.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
std::string OsProcess::execCommand(const std::string& cmd)
|
std::string OsProcess::execCommand(const std::string& cmd)
|
||||||
{
|
{
|
||||||
std::string output;
|
std::string output;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue