Reputation: 2233
The application requires an environment variable prior to execution. I was wondering if there is a way to set an environment variable within the launch script itself.
I understand this may be accomplished via an Action
but I would prefer to set it during run time.
Upvotes: 2
Views: 381
Reputation: 48105
For a Unix launcher, you can go to the "Executable info->Unix options" step in the launcher wizard and define the environment variable there.
For Windows, using the "Modify an environment variable on Windows" action is the only option.
For Mac OS X, there is no solution, because it is generally difficult to modify environment variables on Mac OS X.
Upvotes: 1