unicon.eal.backend package

Submodules

unicon.eal.backend.pty_backend module

Module:

unicon.eal.backend.pty_backend

Authors:

ATS TEAM (ats-dev@cisco.com, CSG(STEP) - India)

Description:

Spawn class is used to invoke commands with which we need to interact. It provides methods for interacting with the spawned commands by using methods like send/expect. It is very similar in intent as Tcl/Expect’s spawn command.

class unicon.eal.backend.pty_backend.Spawn(spawn_command, *args, **kwargs)

Bases: unicon.eal.backend.spawn.Spawn

This class adds pty-specific spawn logic .

close()
is_readable(timeout=0.01)
is_writable(timeout=0.01)

Module contents