Skip to main content

All Questions

Tagged with
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]...
ASDORDSAUSER's user avatar