How do I suppress stderr from a multiprocessing.Process that is terminated?

前端 未结 0 1622
遥遥无期
遥遥无期 2021-01-20 00:15

I have code like this:

from multiprocessing import Process

proc = Process(target=some_blocking_callable)
proc.start()
time.sleep(1)
proc.terminate()
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题