diff --git a/spacy/util.py b/spacy/util.py index 70d0c5852..c526f796c 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -944,7 +944,7 @@ def run_command( *, stdin: Optional[Any] = None, capture: bool = False, - exe: str = None, + exe: Optional[str] = None, ) -> subprocess.CompletedProcess: """Run a command on the command line as a subprocess. If the subprocess returns a non-zero exit code, a system exit is performed.