https://prefect.io logo
Title
z

Zackary Wixom

10/06/2022, 9:49 PM
Not sure if this is the right place, but I am running a prefect flow in a VScode python file and it will not stop running. Is there any sort of functionality like a flow.cancel() to stop this from running forever?
1
m

Matt Conger

10/06/2022, 9:51 PM
Hey @Zach Schuster, you should be able to stop the flow run by pressing Ctrl + C on your keyboard in the terminal the flow is running
:thank-you: 1
z

Zackary Wixom

10/06/2022, 11:42 PM
I swear I tried this, but it appears to have stopped haha
So looks like it is still running. I thought that it had stopped last night, cause this morning the tasks weren't creating more rows of data, but now I checked again and there is a ton. So I guess it didn't stop actually.
I was using vscode interactive window and so perhaps that is why the terminal ctrl + c didn't work. And the interactive window is using a different terminal somehow?
m

Matt Conger

10/07/2022, 7:41 PM
@Zackary Wixom are you running this flow just locally, via the oprion API or cloud?
z

Zackary Wixom

10/07/2022, 8:33 PM
I was running it locally, but I was able to fix it by pulling up
top
in my terminal and kill my Python PID
🙌 1