Alright so, just for a little heads up, I literally just learned what bash script was today. Anyways,
I have this series of voice recognition programs wrote in python, and I wanted to make a voice command that restarted these scripts using a bash shell, because bash and terminal are the controlling units of Ubuntu. Much like command prompt is for windows.
I was wondering if there was a way to create bash files like windows dos files, and if there was a way to stop a python program
- without harming it, as in safely stop it.
- restarting that same python program after stopping it.
- Kudos for telling me how to start it again after a set amount of time.
Any help is appreciated, and like always, is much needed. I know this might go under "stack overflow" but I honestly felt it was more suited here considering that is strictly for command languages, not really scripting languages, and especially Ubuntu user related questions. Once again, thank you.