aboutsummaryrefslogtreecommitdiff
path: root/butl/process.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-25 09:36:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-25 09:36:18 +0200
commit9635692214cc6c3d19578bcadac4da68e0742740 (patch)
tree3d1b865355b78faaf8748dfe920cd449d1bbae41 /butl/process.ixx
parent67aabb1dca0ce7a4d8c62c07f0784132410fd63a (diff)
Add process::try_path_search()
Diffstat (limited to 'butl/process.ixx')
-rw-r--r--butl/process.ixx24
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),