This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update html build script subprocess.call (#132)
Why: * While trying to rebuild the HTML for custom attributes, the preBuildHTML.py script was failing when calls were made to `subprocess.call`. Under the hood the `subprocess.call` function calls `Popen`. The following is from the documentation page of the subprocess library: https://docs.python.org/3/library/subprocess.html#subprocess.Popen ``` If shell is True, it is recommended to pass args as a string rather than as a sequence. ``` While the documentation says that passing a sequence of program arguments should work as intended, building on linux and Mac both failed when using the sequence and succeeded when using a single string. This change addresses the need by: * Updating all calls to `subprocess.call` in preBuildHTML.py to use single string instead of list as the first argument.
- Loading branch information