Fix types

This commit is contained in:
Paul O'Leary McCann 2022-09-29 13:58:24 +09:00
parent 6dfa8bde2f
commit 71c71d3760

View File

@ -944,7 +944,7 @@ def run_command(
*, *,
stdin: Optional[Any] = None, stdin: Optional[Any] = None,
capture: bool = False, capture: bool = False,
exe: str = None, exe: Optional[str] = None,
) -> subprocess.CompletedProcess: ) -> subprocess.CompletedProcess:
"""Run a command on the command line as a subprocess. If the subprocess """Run a command on the command line as a subprocess. If the subprocess
returns a non-zero exit code, a system exit is performed. returns a non-zero exit code, a system exit is performed.