mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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,
|
command,
|
||||||
env=os.environ.copy(),
|
env=os.environ.copy(),
|
||||||
input=stdin,
|
input=stdin,
|
||||||
text=True,
|
encoding="utf8",
|
||||||
check=True,
|
check=True,
|
||||||
stdout=subprocess.PIPE if capture else None,
|
stdout=subprocess.PIPE if capture else None,
|
||||||
stderr=subprocess.PIPE if capture else None,
|
stderr=subprocess.PIPE if capture else None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user