Is Python Subprocess.check_call() Blocking?
Yes, 'subprocess.check_call()' is a blocking call. It waits for the subprocess to complete before returning. This means that the program execution will pause until the subprocess finishes. If the subprocess encounters an error, 'check_call()' will raise a 'CalledProcessError' exception.
原文地址: https://www.cveoy.top/t/topic/nAUR 著作权归作者所有。请勿转载和采集!