From ff98a86f2db008a5e13de5074727a8b5f45a8a3b Mon Sep 17 00:00:00 2001 From: MinRK Date: Wed, 23 Jul 2014 17:03:14 -0700 Subject: [PATCH] check_call with list, instead of shell=True --- setupbase.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setupbase.py b/setupbase.py index c99fb49be..faff40f47 100644 --- a/setupbase.py +++ b/setupbase.py @@ -681,9 +681,10 @@ class CompileCSS(Command): self.force = bool(self.force) def run(self): - check_call("fab css:minify=%s,force=%s" % (self.minify, self.force), - shell=True, - cwd=pjoin(repo_root, "IPython", "html"), + check_call([ + "fab", + "css:minify=%s,force=%s" % (self.minify, self.force), + ], cwd=pjoin(repo_root, "IPython", "html"), )