I'm trying to run a bash script that runs update and upgrade for me in the terminal window from a Python script, using:
import subprocess
subprocess.call(['bash', '/home/pi/updatescript.sh'])
When I run the python script I see no output in the terminal window like I would if the script were run from there using ./. Is this normal? Or am I doing something wrong?
I tried a few other scripts that I have that use xdotool and they didn't seem to run like they do from terminal either so I am a bit confused.