Content-Length: 272678 | pFad | https://github.com/tmux-python/tmuxp/issues/184

BA Environment variable not set when launching session from tmux · Issue #184 · tmux-python/tmuxp · GitHub
Skip to content

Environment variable not set when launching session from tmux #184

@k4nar

Description

@k4nar

Hello,
I have several tmuxp configuration files using environment to pass an env variable to the created session.
When I launch them from a terminal, the environment variables are set. But when I launch them from a running tmux session they are not.

Do you have idea what's causing this behavior?

Failing testcase

session_name: test
environment:
  FOO: bar
windows:
  - panes: ['env | grep FOO']

Running tmuxp load -y test.yml shows FOO=bar, whereas launching the same command from a tmux session doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/tmux-python/tmuxp/issues/184

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy