aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rasp_startup.py (renamed from rasp_starup.py)1
1 files changed, 1 insertions, 0 deletions
diff --git a/rasp_starup.py b/rasp_startup.py
index 37856b9..1cedf8f 100644
--- a/rasp_starup.py
+++ b/rasp_startup.py
@@ -25,6 +25,7 @@ def playerThreadFunc():
if process != 0:
if process.poll() == None:
process.terminate()
+ subprocess.call(['killall', cmd_player], shell=True)
time.sleep(1)
# turn on led
GPIO.output(led_pin, True)