check_call with list, instead of shell=True

This commit is contained in:
MinRK 2014-07-23 17:03:14 -07:00
parent 168d619726
commit ff98a86f2d

View File

@ -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"),
)