Skip to content

[Terminal] Reloading VS Code window sends interrupt signal to long-running tasks in tmux during Python environment activation #1570

Description

@gbdjxgp

After activating the Python environment, every time I create a new terminal, it tries to input Ctrl+C followed by source xxx/activate. I understand the intention behind this is to activate the corresponding virtual environment, but isn't it inappropriate to casually send Ctrl+C like this?
My terminal was running a long-term task inside tmux at that time. However, after I reloaded the VS Code window, the Python plugin sent Ctrl+C into my tmux session, which caused my task that had been running for nearly 24 hours to fail.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*as-designedDescribed behavior is as designedarea-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions