subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window
Random832
random832 at fastmail.com
Tue Jul 12 09:39:42 EDT 2016
On Tue, Jul 12, 2016, at 02:27, Steven D'Aprano wrote:
> On Tuesday 12 July 2016 13:20, Veek. M wrote:
> > I then need to get it translated which also works and then display in
> > XTerm using cat.
>
> Why not just print it? Why do you have to use cat?
Well, displaying something in a new xterm (i.e. not one that already
exists and is your controlling terminal) without a process to run "in"
the terminal is rather esoteric and isn't portable to terminals other
than xterm.
More information about the Python-list
mailing list