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
windows-terminal
mongodb-java
esp-idf
metatrader4
forticlient
metrics
specs
digital-analog-converter
angular-reactive-forms
bandersnatch
point-in-polygon
xml-to-json
outerhtml
xlsm
python-black
pypubsub
drf-nested-routers
incomplete-type
nsviewrepresentable
stereoscopy
windows-phone-7.1
distributions
conditional-split
removechild
size-t
multidatatrigger
adbwireless
azure-vpn
flutter-opacity
off-screen