Currently, the AppManager launches a new process using the command python.
However, if plottr-monitor is running inside a virtual environment, the new process should be launched using the python executable specific to the environment.
With this fix, a new process is launched using sys.executable, which contains the path to the current python executable.
Currently, the AppManager launches a new process using the command
python
. However, if plottr-monitor is running inside a virtual environment, the new process should be launched using the python executable specific to the environment. With this fix, a new process is launched usingsys.executable
, which contains the path to the current python executable.