Skip to content

Prompt not found by pexpect in python 3 environment  #56

@beleki

Description

@beleki

case 1:
pexpect TypeError

TypeError: write() argument must be str, not bytes
when
spawn SshShell, terminal has outgoing and incoming logfiles defined

reason:
InteractiveSession spawn does not open logfile_send and logfile_read in binary mode

case 2:
prompt not found
when
push KeyauthenticatedShell
reason:
initial_prompt is defined as string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions