TERM environment variable not set
- by rahkarp
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