Altair RISE

A program to recognize and reward our most engaged community members
Nominate Yourself Now!

Get installation directory path

User: "Debdatta_Sen"
Altair Employee
Updated by Debdatta_Sen

Hi all,

 

Just like HM APIs such as hm_info, is there a way to find out which directory compose is installed in?

I do not want to look up an environement variable, unless that is the only way.

Does anyone have any tips for me?

 

Thanks,
Deb

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "robertavarela"
    New Altair Community Member
    Updated by robertavarela

    Deb,

     

    In Compose v2020, you can use composedir function and in previous versions you can use getenv('ALTAIR_HOME') to get the environment variable that points to Compose installation folder.

    image.png.62427f49f9579f53b2ee765e95b21975.png

    Regards,

     

    Roberta