Re: Application path



On Tue, Jan 18, 2011 at 05:18:17AM +0000, John Emmas wrote:
In fact, I only need this for the purpose of calculating
a path that's relative to the location of the installed program.  It's
of less importance on Linux because apps tend to be installed using
the same path on everyone's system so generally, one can make an
intelligent guess.

I don't think so.  If people compile programs themselves they install
them to all kinds of places in their home.  The situation would be
better described that, on Linux, programs are not normally expected to
be relocatable, the installation path is known at compile time and can
be hardcoded.

Yeti




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