Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal does not detect failure in activated environments when activated using PS1 script #214909

Open
karthiknadig opened this issue Jun 11, 2024 · 0 comments
Assignees

Comments

@karthiknadig
Copy link
Member

OS windows

Expected:
image

Actual:
image

Repro steps:

  1. Create a virtual environment using python -m venv .venv.
  2. Activate the virtual environment using the PS1 script in powershell (i.e., > .venv\Scripts\activate.ps1)
  3. Your prompt now will have (.venv) prepended.
  4. Try to run some module that is not installed: python -m ruff
  5. you get a blue dot instead of the red one.
@karthiknadig karthiknadig changed the title Termina does not detect failure in activated environments when activated using PS1 script Terminal does not detect failure in activated environments when activated using PS1 script Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants