KEMBAR78
Killing an (integrated) terminal doesn't terminate the processes started therein (OSX) · Issue #2226 · microsoft/vscode-python · GitHub
Skip to content

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

@taiya

Description

@taiya

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)

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