mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
[ADD] SpawnPipe is the default spawn class
This commit is contained in:
parent
9cdc9a280b
commit
4687573f3b
@ -6,7 +6,7 @@ import pkg_resources
|
|||||||
try:
|
try:
|
||||||
spawn_class_name = os.environ['WEXPECT_SPAWN_CLASS']
|
spawn_class_name = os.environ['WEXPECT_SPAWN_CLASS']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
spawn_class_name = 'legacy_wexpect'
|
spawn_class_name = 'SpawnPipe'
|
||||||
|
|
||||||
if spawn_class_name == 'legacy_wexpect':
|
if spawn_class_name == 'legacy_wexpect':
|
||||||
from .legacy_wexpect import ExceptionPexpect
|
from .legacy_wexpect import ExceptionPexpect
|
||||||
|
Loading…
Reference in New Issue
Block a user