Python on Windows - how to wait for multiple child processes?

前端 未结 6 1382
滥情空心
滥情空心 2020-12-05 18:12

How to wait for multiple child processes in Python on Windows, without active wait (polling)? Something like this almost works for me:

proc1 = subpr         


        
6条回答
  •  忘掉有多难
    2020-12-05 18:39

    Twisted has an asynchronous process-spawning API which works on Windows. There are actually several different implementations, many of which are not so great, but you can switch between them without changing your code.

提交回复
热议问题