Made some progress.
First defined a function that calls a bash script. The bash script is stupid simple doing nothing but "cat ~/.bashrc'.
Was able to connect the function to a button. It works. Clicking the button caused by ~/.bashrc file to be returned to the terminal.
This is the python function;
Code:
import sys
import subprocess
def get_quota():
process = subprocess.call(['/home/me/scripts/pySide/dummy.sh'])
I was expecting that nothing would get returned unless I specifically printed "process".
Is there a way to prevent stdout from returning to the terminal?
Thanks again.