Nov-28-2021, 10:58 AM
(Nov-24-2021, 08:19 PM)Shiri Wrote: This part I got Thanks , but my doubt is in the if condition where both the scripts use different process name (process1.py searches for the process name and kill it how can i achieve this for process2.py in same script)
Combining the scripts just as is should be good even after which you could probably factor out repeated code into a function.
That would be good enough from me.