Open ddkohler opened 2 years ago
https://docs.conda.io/projects/conda/en/latest/commands/run.html
probably part of the solution
Proposed solution: On Windows, yaqd enable
will accept an environment kwarg. environment will be stored in the cache for each daemon.
This issue is less impactful than I thought.
Firstly, yaqd-control can install daemons in the non-default conda environment. We just have to run yaqd enable [kind]
in the environment we wish for the daemon to be run. If yaqd-control (and dependencies) cannot be installed/operated in the daemon environment, then this does not work, but this is likely an uncommon case.
Secondly, it's pretty obvious, but it should be noted that one can edit the paths of the background process manually yaqd nssm edit [kind]
to run in your target environment.
If daemons are installed in the non-default conda environment, nssm fails to start them.