Move into wexpect_venv namespace

This commit is contained in:
allegroai 2023-11-12 15:17:24 +02:00
parent 4b7786d93e
commit 4d33d7bcf7
6 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ import sys
import logging
import traceback
import wexpect.console_reader as console_reader
import wexpect.wexpect_util as wexpect_util
import wexpect_venv.console_reader as console_reader
import wexpect_venv.wexpect_util as wexpect_util
logger = logging.getLogger('wexpect')

View File

@ -1195,7 +1195,7 @@ class Wtty:
commandLine = '"%s" %s "%s"' % (python_executable,
' '.join(pyargs),
f"import sys; sys.path = {spath} + sys.path;"
f"args = {args}; import wexpect;"
f"args = {args}; import wexpect_venv as wexpect;"
f"wexpect.ConsoleReader(wexpect.join_args(args), {pid}, {tid}, cp={cp}, logdir={logdir})"
)