How to spawn parallel child processes on a multi-processor system?

前端 未结 4 1769
北海茫月
北海茫月 2020-12-04 06:52

I have a Python script that I want to use as a controller to another Python script. I have a server with 64 processors, so want to spawn up to 64 child processes of this sec

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 07:35

    I would definitely use multiprocessing rather than rolling my own solution using subprocess.

提交回复
热议问题