diff options
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r-- | libbuild2/utility.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx index 956d213..beacd2f 100644 --- a/libbuild2/utility.hxx +++ b/libbuild2/utility.hxx @@ -222,12 +222,15 @@ namespace build2 const location& = location ()); LIBBUILD2_SYMEXPORT process_path - try_run_search (const path&, + run_try_search (const path&, bool init = false, const dir_path& fallback = dir_path (), bool path_only = false, const char* paths = nullptr); + [[noreturn]] LIBBUILD2_SYMEXPORT void + run_search_fail (const path&, const location& = location ()); + // Wait for process termination. Issue diagnostics and throw failed in case // of abnormal termination. If the process has terminated normally but with // a non-zero exit status, then, if error is true, assume the diagnostics |