Add shell=True to the docfx call

pull/23/head
Eric Holscher 9 years ago
parent 3c89158662
commit 243549f2fe

@ -36,12 +36,13 @@ class DotNetSphinxMapper(SphinxMapperBase):
all_files.add(_file)
if all_files:
try:
command = ['bash', 'docfx', 'metadata', '--raw', '--force']
command = ['docfx', 'metadata', '--raw', '--force']
command.extend(all_files)
proc = subprocess.Popen(
command,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
env=dict((key, os.environ[key])
for key in ['PATH', 'DNX_PATH', 'HOME']
if key in os.environ),

Loading…
Cancel
Save