diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-30 13:35:36 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 31899d0a48108515d13508b660fb3bb82b869430 (patch) | |
tree | 38bae83a3d5dc919e89906ce43571eaf2a210d5f /src | |
parent | fa358bcce18c4c6b343eb2a82475d76a6638096a (diff) |
Add support for emscripten, fix compdb for tests
Diffstat (limited to 'src')
-rw-r--r-- | src/Exec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Exec.cpp b/src/Exec.cpp index cfeb19d..cc82897 100644 --- a/src/Exec.cpp +++ b/src/Exec.cpp @@ -139,4 +139,8 @@ namespace sibs return Result<ExecResult>::Err(errMsg); } #endif + Result<ExecResult> exec(const FileString &cmd, bool print) + { + return exec(cmd.c_str(), print); + } } |