mirror of https://github.com/explosion/spaCy.git
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