mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Don't use shell=True
This commit is contained in:
parent
0924a9dd73
commit
17626b5474
1 changed files with 1 additions and 2 deletions
|
|
@ -433,8 +433,7 @@ class LessCSSGenerator(Generator):
|
|||
logger.error("Couldn't create the less css output folder in " +
|
||||
target_dir)
|
||||
|
||||
cmd = ' '.join([self._lessc, less_file, target])
|
||||
subprocess.call(cmd, shell=True)
|
||||
subprocess.call([self._lessc, less_file, target])
|
||||
logger.info(u' [ok] compiled %s' % base)
|
||||
|
||||
def generate_output(self, writer=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue