Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] How do I get the path of a program in $PATH

Hi,

I am developing a plugin. I am looking for a function which does exactly as
the 'which <command>' do.
Say for example I want to get the path of gcc. At shell prompt I can use
'which gcc' to get the path.
How can I get the same inside a plugin ? Please help.

Thanks in advance,
Subbarao
-- 
View this message in context: http://old.nabble.com/How-do-I-get-the-path-of-a-program-in-%24PATH-tp30365453p30365453.html
Sent from the Eclipse PDE - General mailing list archive at Nabble.com.



Back to the top