diff --git a/python_apps/pypo/pypofetch.py b/python_apps/pypo/pypofetch.py index b625581c5..d7c79b581 100644 --- a/python_apps/pypo/pypofetch.py +++ b/python_apps/pypo/pypofetch.py @@ -191,7 +191,7 @@ class PypoFetch(Thread): self.logger.info("Restarting Liquidsoap") - subprocess.call('/etc/init.d/airtime-liquidsoap restart', shell=True) + subprocess.call('/etc/init.d/airtime-liquidsoap restart', shell=True, close_fds=True) #Wait here and poll Liquidsoap until it has started up self.logger.info("Waiting for Liquidsoap to start")