toolsforexperiments / plottr

A flexible plotting and data analysis tool.
https://github.com/toolsforexperiments/plottr
MIT License
46 stars 55 forks source link

Launch a new app using the same python executable #368

Closed yoshi74ls181 closed 1 year ago

yoshi74ls181 commented 1 year ago

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.