[issue21496] pyvenv activate_this.py
Vinay Sajip
report at bugs.python.org
Wed May 14 00:43:32 CEST 2014
Vinay Sajip added the comment:
You say "from other Python code", but you mean running an external command in a subprocess, right? If you know where that command is (which you would need to in order to invoke activate_this on the appropriate venv) then you could run the command directly from its bin folder in the venv, and it would run with the venv's environment (interpreter, sys.path etc.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21496>
_______________________________________
More information about the Python-bugs-list
mailing list