Skip to content

Commit

Permalink
python: reverted to subprocess.run() in html.py
Browse files Browse the repository at this point in the history
run_command_with_logging doesn't work in docker, it adds lots of extra spaces
  • Loading branch information
adamgeorge309 committed Nov 21, 2024
1 parent 719f05c commit 49c6db3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/inet/documentation/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ def generate_html_documentation(docker=False, clean_build=False):
make_cmd = "./docker-make"
else:
make_cmd = "make"
run_command_with_logging([make_cmd, "html"], cwd = inet_project.get_full_path("doc/src/"))
# run_command_with_logging doesn't work in docker, it adds lots of extra spaces
subprocess.run([make_cmd, "html"], cwd = inet_project.get_full_path("doc/src/"))

def upload_html_documentation(path):
_logger.info("Uploading HTML documentation, path = " + path)
Expand Down

0 comments on commit 49c6db3

Please sign in to comment.