Output system commands to system designer
Guys,
I need to know how to output system commands to qt designer. I am using python to program. For example, i want to perform the below unix command:
cmd='dig ' + input + ' ns +short
os.system(cmd)
I want the command to output to QT designer. I tried:
self.listBox1.insertItem(os.system(cmd))
Can someone please tell me how to output system commands to QT designer.
Thanks.