mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix run_command for python 3.6
This commit is contained in:
parent
884cac5fb5
commit
77852d2428
|
@ -586,7 +586,7 @@ def run_command(command: Union[str, List[str]], *, capture=False, stdin=None) ->
|
|||
command,
|
||||
env=os.environ.copy(),
|
||||
input=stdin,
|
||||
text=True,
|
||||
encoding="utf8",
|
||||
check=True,
|
||||
stdout=subprocess.PIPE if capture else None,
|
||||
stderr=subprocess.PIPE if capture else None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user