From d0a288b423b6a4dd11649599c0e2f78f612ae173 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 2 Feb 2019 16:06:56 +0100 Subject: [PATCH] Don't start the mplayer pipe with shell=True --- platypush/plugins/media/mplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/mplayer.py b/platypush/plugins/media/mplayer.py index e2fe58d4..bbb14159 100644 --- a/platypush/plugins/media/mplayer.py +++ b/platypush/plugins/media/mplayer.py @@ -116,7 +116,7 @@ class MediaMplayerPlugin(MediaPlugin): if self._env: env.update(self._env) - self._mplayer = subprocess.Popen(args, env=env, shell=True, + self._mplayer = subprocess.Popen(args, env=env, stdin=subprocess.PIPE, stdout=subprocess.PIPE)