I have a python project that I use curses. I would like to open another shell for piping some of my outputs, how shall I achieve this?
Clarification:
I am writing a TUI using Curses module of python. Therefore my initial bash shell is a curses window.
I would like to have live updated variables in another bash shell if that's possible for debugging purposes.
What I am asking is, if there is a way to make a python program open another shell and pipe the standard output to that shell, instead of the default shell which in my case is the window for the curses environment.