Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stoping Flask Server #29

Open
SimonSchirber opened this issue Feb 8, 2023 · 1 comment
Open

Stoping Flask Server #29

SimonSchirber opened this issue Feb 8, 2023 · 1 comment

Comments

@SimonSchirber
Copy link

SimonSchirber commented Feb 8, 2023

Is there a way you can stop the server with a button on the GUI to make sure the camera is turned off? I wanted to use this because when I default the pi bootup to run the main.py script i cant find how to turn off/kill the local server main.py script since I cant see the terminal that started it

@SimonSchirber SimonSchirber changed the title Stooping Flask Server button Stoping Flask Server Feb 8, 2023
@mikibish
Copy link

mikibish commented Sep 4, 2023

No GUI way that I've found but you can kill it through the terminal. Run ps aux | grep python to find the PID number of main.py and then run kill <PID number> or you can try killall python without having to look up the PID but obviously that will stop any and all python scripts you have running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants