there a way to check whether the process is completed or not ?
Have you checked the documentation? https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess
Обсуждают сегодня