mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
check_call with list, instead of shell=True
This commit is contained in:
parent
168d619726
commit
ff98a86f2d
@ -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"),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user