ruff apply rule PLW1510 to find silent subprocess errors (#113644)
Summary:
Reopens #111682 that I messed up due to a bad rebase and triggered some issues with CLA. This explicitly adds check=True or False to any subprocess calls where appropriate.
X-link: https://github.com/pytorch/pytorch/pull/113644
Approved by: https://github.com/ezyang, https://github.com/kit1980
Reviewed By: huydhn
Differential Revision: D51336676
fbshipit-source-id: b4fb387e7771a01aed0f4451074a6d376e75ce84