Skip to content

Killing an (integrated) terminal doesn't terminate the processes started therein (OSX) #2226

Description

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.0
  • OS and version: OSX 10.13.6
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A

Actual behavior

Killing a terminal from the VSCODE ui lets scripts executed therein running in the background

Expected behavior

Processes created within the (terminated) integrated terminal should be terminated.

Steps to reproduce

  1. write a python script with an infinite loop
  2. execute the script with "Run Python File in Terminal"
  3. In the vscode UI, press "Kill Terminal" to close the terminal window
  4. the python script keeps running in the background
  5. (laptop fan starts spinning mercilessly)
  6. (access OSX activity monitor to terminate python process manually)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-debuggingbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions