Open Jawkes opened 5 years ago
Hi everyone,
I have created a Python script to launch notifications with Pushover. The script is called "pushover.py" and is located in the /home/pi folder.
It works well when I type : $ sudo python pushover.py
But when I try to launch : $ soundmeter --trigger +300 --action exec --exec pushover.py
I receive the following error message when the 300 threshold is reached : "Can't run shell script [Errno 2] No such file or directory"
What am I missing here ? Where should I put the 'pushover.py" file to solve this ?
Many thanks in advance for your help.
Hi everyone,
I have created a Python script to launch notifications with Pushover. The script is called "pushover.py" and is located in the /home/pi folder.
It works well when I type : $ sudo python pushover.py
But when I try to launch : $ soundmeter --trigger +300 --action exec --exec pushover.py
I receive the following error message when the 300 threshold is reached : "Can't run shell script [Errno 2] No such file or directory"
What am I missing here ? Where should I put the 'pushover.py" file to solve this ?
Many thanks in advance for your help.