Kill Process that is created from running a task
Asked Answered
D

5

20

I am launching a task and it works great but its a task that stays running in the current shell. Is there anyway to kill this task from the editor when you are done?

Diaphoretic answered 27/10, 2015 at 15:30 Comment(2)
#33885764Inflated
Yeah debugger is annoying for me when it spawns. For a server I use lsof -i tcp:3333 (or whatever the port is) and then kill -9 PIDBeanie
S
8

Try Ctrl+Shift+P, start typing term and the command palette will highlight "terminate running task", press Enter and you're done

Stallfeed answered 3/2, 2016 at 15:26 Comment(0)
F
7

Not sure if you have tried.

  1. Press Ctrl+P.
  2. Type >task terminate.
Furtherance answered 28/10, 2015 at 8:57 Comment(1)
Typing > in Quick Open Ctrl+P is the equivalent of Command Palette Ctrl+Shift+P (for others like me who missed typing >)Thursday
C
3

In the task Runner Explorer window, you'll see a tab that has "(running)" in it's title. Click the X to close the tab, and visual studio will ask you if you want to terminate the task. If you chose to terminate it, the tab will disappear.

Chapell answered 7/9, 2016 at 20:5 Comment(0)
V
2

To kill a C++ Code Runner task, press Ctrl + Alt + M.

Ventilation answered 5/8, 2019 at 18:30 Comment(0)
C
2

enter image description here

You can end the task using the bin button!

Carbaugh answered 24/10, 2020 at 22:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.