diff options
Diffstat (limited to 'obt/paths.h')
| -rw-r--r-- | obt/paths.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/obt/paths.h b/obt/paths.h index 6d6df5e7..7c43682d 100644 --- a/obt/paths.h +++ b/obt/paths.h @@ -40,6 +40,11 @@ gchar *obt_paths_expand_tilde(const gchar *f); gboolean obt_paths_mkdir(const gchar *path, gint mode); gboolean obt_paths_mkdir_path(const gchar *path, gint mode); +/*! Returns TRUE if the @path points to an executable file. + If the @path is not an absolute path, then it is searched for in $PATH. +*/ +gboolean obt_paths_try_exec(ObtPaths *p, const gchar *path); + G_END_DECLS #endif |
