aboutsummaryrefslogtreecommitdiff
path: root/include/Exec.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-30 04:32:49 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-30 05:08:10 +0100
commit98ad7dd049a366e21d60a34548736a3c8ef72877 (patch)
tree45e34eb02f6be9f9130a870a19ef1533e24bf343 /include/Exec.hpp
parent1f583ebb6e3973c992d59886659bf53ff87f41de (diff)
Add support for windows (ugly fast solution)
Diffstat (limited to 'include/Exec.hpp')
-rw-r--r--include/Exec.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Exec.hpp b/include/Exec.hpp
index 42b6905..9996073 100644
--- a/include/Exec.hpp
+++ b/include/Exec.hpp
@@ -2,6 +2,7 @@
#define SIBS_EXEC_HPP
#include "Result.hpp"
+#include "../include/FileUtil.hpp"
#include <string>
namespace sibs
@@ -12,7 +13,7 @@ namespace sibs
int exitCode;
};
- Result<ExecResult> exec(const char *cmd, bool print = false);
+ Result<ExecResult> exec(const _tinydir_char_t *cmd, bool print = false);
}
#endif //SIBS_EXEC_HPP