[Tutor] Start multiple threads from Python
eryksun
eryksun at gmail.com
Thu Aug 8 03:58:02 CEST 2013
On Mon, Aug 5, 2013 at 3:26 PM, Chris Down <chris at chrisdown.name> wrote:
> subprocess.Popen does not block unless you explicitly tell it to (by using
> communicate()). Perhaps that's what you want.
Popen.wait is the method that blocks until the process exits. On POSIX
systems this uses waitpid. On Windows it uses WaitForSingleObject with
the process handle.
More information about the Tutor
mailing list