subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Jul 12 02:28:53 EDT 2016


On Tuesday 12 July 2016 16:27, Steven D'Aprano wrote:

> On Tuesday 12 July 2016 13:20, Veek. M wrote:
> 
>> Script grabs some image data and runs imagemagick on it to extract some
>> chinese. Then tesseract OCR to get the actual unicode.
>> 
>> 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? That sounds like "Useless
> use of cat" to me:
> 
> 
http://porkmail.org/era/unix/award.htmlhttp://porkmail.org/era/unix/award.html
> 


Oopsm, accidentally doubled the URL.

http://porkmail.org/era/unix/award.html

-- 
Steve



More information about the Python-list mailing list