Specifying both the json and subprocess flags will only print out the dump of the root process and will ignore subprocesses. For example, when running the following python program:
import time
from multiprocessing import Process
def work():
time.sleep(1000)
for _ in range(10):
p = Process(target=work, daemon=True)
p.start()
time.sleep(1000)
Specifying both the json and subprocess flags will only print out the dump of the root process and will ignore subprocesses. For example, when running the following python program:
And then running:
Will only return the dump of the root process:
I would expect it to return dumps of all the processes/threads, instead.