add warning about setting envvars

Co-authored-by: native-api <vano@mail.mipt.ru>
This commit is contained in:
Michał 2026-09-08 10:49:16 +02:00 committed by GitHub
parent 63548e129f
commit 4113b2d9f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@
#
# Usage: pyenv exec [-E|--environment] <command> [arg1 arg2...]
#
# -E Modify Python runtime environment, such as $PYTHONHOME, for the called executable.
# -E Set PYTHONHOME and LD_LIBRARY_PATH envvars for the running command. This allows to run programs that embed Python without using rpath or exact library path.
# WARNING! For the running command and its child processes, this will break linkage for programs that expect to be linked to system libpython!
#
# Runs an executable by first preparing PATH so that the selected Python
# version's `bin' directory is at the front.