On 1/8/19 10:50 PM, Odhiambo Washington wrote:
Now that has clarified the matter for me. That even when I am logged out, the scripts do the neccessary to activate the venv to run things.
As mentioned before, a virtualenv is not like a container. It is only a directory that contains among other things a bin/ directory with activate scripts and easy_install, python, pip and wheel commands.
When you activate a virtualenv in your shell, all it really does is add a deactivate command, modify the command prompt and insert its bin/ directory at the beginning of its PATH.
What this means is whether or not a virtualenv is "active", running a command from the bin/ directory in the virtualenv is using the virtualenv.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan