is python subprocess blocking call
By default, the Python subprocess module's call() function is a blocking call. It waits for the command to complete before returning control to the calling program. However, there are ways to make subprocess calls non-blocking by using the Popen function instead of call, or by using the subprocess.run() function with the async argument set to True. These methods allow the main program to continue execution while the subprocess runs in the background.
原文地址: https://www.cveoy.top/t/topic/cTeu 著作权归作者所有。请勿转载和采集!