use lists for all command stuff

This commit is contained in:
Jakob Ketterl
2019-12-28 16:44:45 +01:00
parent 489d2390c8
commit 86ceb7a274
5 changed files with 8 additions and 12 deletions

View File

@ -135,7 +135,7 @@ class SdrSource(ABC):
# preexec_fn can go as soon as there's no piped commands left
# the os.killpg call must be replaced with something more reasonable at the same time
self.process = subprocess.Popen(shlex.split(cmd), preexec_fn=os.setpgrp)
logger.info("Started rtl source: " + cmd)
logger.info("Started sdr source: " + cmd)
available = False