-process = run(sphinx_cmd + ['-b', 'html', src, join(dst, 'html')], check=True)
-print(str(process.args) + ' Done OK')
+with open(join(dst, 'sphinx_html.out'), 'w') as out:
+ process = run(sphinx_cmd + ['-b', 'html', src, join(dst, 'html')],
+ stdout=out)