|
AvogadroLibs 2.1.0-20261111
|
#include <packagemanager.h>
Public Member Functions | |
| bool | applyEnvironment (QProcessEnvironment &environment) const |
Public Attributes | |
| QString | program |
| empty if no environment can run the command | |
| QStringList | prefixArgs |
| arguments preceding the command's own | |
| QString | environmentBinDir |
| QString | environmentPrefix |
How to launch a package command.
| bool applyEnvironment | ( | QProcessEnvironment & | environment | ) | const |
Apply environmentBinDir and environmentPrefix to environment.
environment was modified. | QString environmentBinDir |
Bin directory to prepend to PATH, empty when the launcher activates the environment itself ("pixi run"). Set when the command's script is run directly, so that a plugin shelling out to another program installed in its environment still finds it.
| QString environmentPrefix |
Root of a conda-style environment, exported as CONDA_PREFIX. Empty unless the script is run directly from a pixi environment.