I discuss this [here](https://github.com/orgs/micropython/discussions/13239#top). The zombie processes make it hard to use if it is called continuously. I reverted to piping to file and reading the output.