diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-25 09:36:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-25 09:36:18 +0200 |
commit | 9635692214cc6c3d19578bcadac4da68e0742740 (patch) | |
tree | 3d1b865355b78faaf8748dfe920cd449d1bbae41 /butl/process.ixx | |
parent | 67aabb1dca0ce7a4d8c62c07f0784132410fd63a (diff) |
Add process::try_path_search()
Diffstat (limited to 'butl/process.ixx')
-rw-r--r-- | butl/process.ixx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/butl/process.ixx b/butl/process.ixx index 264f77c..83918bf 100644 --- a/butl/process.ixx +++ b/butl/process.ixx @@ -75,6 +75,30 @@ namespace butl return r; } + inline process_path process:: + path_search (const std::string& f, bool i, const dir_path& fb) + { + return path_search (f.c_str (), i, fb); + } + + inline process_path process:: + path_search (const path& f, bool i, const dir_path& fb) + { + return path_search (f.string ().c_str (), i, fb); + } + + inline process_path process:: + try_path_search (const std::string& f, bool i, const dir_path& fb) + { + return try_path_search (f.c_str (), i, fb); + } + + inline process_path process:: + try_path_search (const path& f, bool i, const dir_path& fb) + { + return try_path_search (f.string ().c_str (), i, fb); + } + inline process:: process () : handle (0), |