Start Bash Skript with snips


Hi everyone, I try to start a Bash script in the Python Snippets area in the app action tab but it isn’t working. Can anybody tell me what I am doing wrong?

Here is what I tried:

import subprocess (home/pi/



use google and search for “subprocess python” and find the answer to how to use the function correctly (['home/pi/'])

i prefer something like

interface = Popen(['home/pi/'], stdout=PIPE, stderr=PIPE)
stdout, stderr = interface.communicate()

that way you can check for errors etc


What error message do you get in /var/log/syslog?