Python- Multiprocessing Daemon

前端 未结 1 1027
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 08:44

I\'m creating a multiprocess, which creates a csv file. When I run the code with d.daemon = False it works fine, ie it creates a file in the same folder. But wh

相关标签:
1条回答
  • 2021-01-13 09:41

    According to multiprocess daemon documentation by setting d.daemon=True when your script ends its job will kill all subprocess. That occurs before they can start to write so no output will be produced.

    0 讨论(0)
提交回复
热议问题