I'm unable to capture stdout of runpy.run_module into a variable using StringIO. To demonstrate the problem, I created a script called runpy_test.py (code below
qtoolbox
async-hooks
django-markdownx
gunicorn
backgroundtaskidentifier
android-deep-link
mkstemp
koa2
freetype2
monkeyc
tpu
pid
smtp-server
videosdk.live
windows-ce
spring-boot-2
logical-and
apache
rainerscript
microsoft365r
automocking
m2e
grahams-scan
spring-data-envers
html-select
fbx
muxviz
qbfc
rabbitmq.client
cling