aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Exec.cpp4
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);
+ }
}