TERM environment variable not set
        Posted  
        
            by rahkarp
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by rahkarp
        
        
        
        Published on 2010-04-07T08:28:52Z
        Indexed on 
            2010/04/07
            8:33 UTC
        
        
        Read the original article
        Hit count: 235
        
I'm using python to develop an app and want to view running processes.The code
txt = commands.getoutput("top -d 1") print txt
gives an error "TERM Environment Variable not set" Can someone tell me what this means and how to solve this
© Stack Overflow or respective owner