Thanks, I didn´t realize it was this easy! Regards, Julien
Dec 12, 2021, 22:39 by man...@mclure.org: > > > On Sat, Dec 11, 2021 at 3:54 PM Julien Roy <> jul...@jroy.ca> > wrote: > >> Hello, >> >> I am trying to create an OpenRC script to start a python module. >> To launch the module manually, what I would do is: >> cd $moduleDir >> source bin/activate >> python -m $module >> > > You can actually just use > > $moduleDir/bin/python -m $module > > Executing anything from the bin directory inside the venv will make it act as > if it had activated the venv. > -- > Manuel A. McLure WW1FA <> man...@mclure.org> > <> http://www.mclure.org> > > ...for in Ulthar, according to an ancient and significant law, > no man may kill a cat. -- H.P. Lovecraft >