Skip to content
Permalink
Browse files
Try to fix AppVeyor by using shell=True on Windows
(in check.py; I believe we had similar problems with less/sass before)
  • Loading branch information
Kwpolska committed Jan 17, 2015
1 parent f55b6ed commit 4015404b7354be7b6614101892627e368b95496e
Showing with 6 additions and 1 deletion.
  1. +6 −1 nikola/plugins/command/check.py
@@ -47,7 +47,12 @@ def _call_nikola_list(site, arguments):
command.append('--conf=' + site.configuration_filename)
command.extend(["list", "--all"])
result = []
for task in subprocess.Popen(command, shell=False, stdout=subprocess.PIPE).stdout.readlines():
if os.name == 'nt':
shell = True
command = command.join(' ')
else:
shell = False
for task in subprocess.Popen(command, shell=shell, stdout=subprocess.PIPE).stdout.readlines():
result.append(task.decode('utf-8'))
return result

0 comments on commit 4015404

Please sign in to comment.