Not sure if this is the right place, but I am runn...
# prefect-community
z
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
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
🙏 1
z
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
@Zackary Wixom are you running this flow just locally, via the oprion API or cloud?
z
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