mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-11 19:10:58 +00:00
Add shell=True to the docfx call
This commit is contained in:
parent
3c89158662
commit
243549f2fe
@ -36,12 +36,13 @@ class DotNetSphinxMapper(SphinxMapperBase):
|
|||||||
all_files.add(_file)
|
all_files.add(_file)
|
||||||
if all_files:
|
if all_files:
|
||||||
try:
|
try:
|
||||||
command = ['bash', 'docfx', 'metadata', '--raw', '--force']
|
command = ['docfx', 'metadata', '--raw', '--force']
|
||||||
command.extend(all_files)
|
command.extend(all_files)
|
||||||
proc = subprocess.Popen(
|
proc = subprocess.Popen(
|
||||||
command,
|
command,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
|
shell=True,
|
||||||
env=dict((key, os.environ[key])
|
env=dict((key, os.environ[key])
|
||||||
for key in ['PATH', 'DNX_PATH', 'HOME']
|
for key in ['PATH', 'DNX_PATH', 'HOME']
|
||||||
if key in os.environ),
|
if key in os.environ),
|
||||||
|
Loading…
Reference in New Issue
Block a user