Skip to content

Commit 7b269b4

Browse files
committed
switch to subprocess.run()
1 parent 7cee02f commit 7b269b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_linter_hooks/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def parse_version(v: str):
6262
def _install_tool(tool: str, version: str) -> Optional[Path]:
6363
"""Install a tool using pip, suppressing output."""
6464
try:
65-
subprocess.check_call(
65+
subprocess.run(
6666
[sys.executable, "-m", "pip", "install", f"{tool}=={version}"],
6767
capture_output=True,
6868
check=True,

0 commit comments

Comments
 (0)