Re: Checking if a program in path



On Mon, May 16, 2005 at 08:40:03AM +0200, Colossus wrote:
I need to know if
a program is available, so I thought to try open the
file with the -e flags, but maybe there is already something
inside glib ??

Maybe you are looking for g_find_program_in_path():

http://developer.gnome.org/doc/API/2.0/glib/glib-Miscellaneous-Utility-Functions.html#g-find-program-in-path

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]