gogins / csound-extended

Extensions for Csound including algorithmic composition, Android app, and WebAssembly.
GNU Lesser General Public License v2.1
40 stars 1 forks source link

Capture stdout, stderr to messages textview in playpen #168

Closed gogins closed 3 years ago

gogins commented 3 years ago

In the Csound Playpen, capture not only the C runtime library stderr (and thus Csound's default runtime messages) but also the Python stdout and stderr, and redirect their streams to the messages Gtk.TextView.

Should be possible following this: https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/

gogins commented 3 years ago