[Tutor] subprocess.Popen / proc.communicate issue

Cameron Simpson cs at zip.com.au
Fri Mar 31 18:38:24 EDT 2017

On 31Mar2017 06:13, eryk sun <eryksun at gmail.com> wrote:
>On Thu, Mar 30, 2017 at 10:51 PM, Cameron Simpson <cs at zip.com.au> wrote:
>> This suggests that .communicate uses Threads to send and to gather data
>> independently, and that therefore the deadlock situation may not arise.
>For Unix, communicate() uses select or poll. It uses threads on
>Windows. Either way it avoids deadlocking.

Good to know. Thanks!

Cameron Simpson <cs at zip.com.au>

More information about the Tutor mailing list