Peter Otten <[EMAIL PROTECTED]>: > - communicate() waits for the subprocess to terminate. > - stdout.read() is retried if an EINTR occurs (Not sure when this would > happen).
EINTR happens, if the "read" syscall is interrupted by a signal handler. For instance, if a daemon handles SIGUSR to re-read its configuration, and the user issues SIGUSR in exactly that very moment, the daemon wants to read from a pipe, the read attempt would fail with EINTR. Shouldn't happen that often ... -- Freedom is always the freedom of dissenters. (Rosa Luxemburg) -- http://mail.python.org/mailman/listinfo/python-list