cool-easter-32542
08/21/2023, 8:02 PM(venv) erik@Eriks-MBP /t/unpack> pex --inject-env FOO=BLARG --output-file /tmp/test.pex
It doesn't seem to be present when I start up the repl:
(venv) erik@Eriks-MBP /t/unpack> /tmp/test.pex
Python 3.11.4 (v3.11.4:d2340ef257, Jun 6 2023, 19:15:51) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import os
>>> os.environ.get("FOO")
>>> ^D
now exiting InteractiveConsole...
(venv) erik@Eriks-MBP /t/unpack>
But it's present in the PEX-INFO:
(venv) erik@Eriks-MBP /t/unpack> cat PEX-INFO | jq .inject_env
{
"FOO": "BLARG"
}
What am I doing wrong? Thanks for any suggestions.
pantsbuild/pex