Skip to content

Windows CMD: EJ_RUNNER_PWD persists between Junie sessions causing subsequent launches to open the previous project #81

Description

Environment:

  • Windows 10
  • Junie CLI 26.6.29
  • CMD

Steps to reproduce:

  1. Open CMD.
  2. Navigate to Project A.
  3. Run junie.
  4. Exit Junie (Ctrl+C).
  5. Navigate to Project B.
  6. Run:
    echo %EJ_RUNNER_PWD%

Actual result:
EJ_RUNNER_PWD still points to Project A.
Junie opens Project A instead of using the current working directory.

Expected result:
EJ_RUNNER_PWD should not persist between sessions.
Each junie invocation should use the current %CD%.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions