All Questions
1
question
0
votes
1
answer
718
views
How to get PID of python3 working program
I want to write a program on bash that will restart my script once every some time.
The program runs in an infinite loop and launch like this:
Python3 main.py
So to restart it, I need to do
Kill [pid]...