class documentation

class ShellCommand(Command): (source)

View In Hierarchy

A pseudo-command that expects an interactive shell to be executed. .. versionadded:: 2.7

Method expect_execution Assert that the ``channel`` was used to run this command.

Inherited from Command:

Method __init__ Undocumented
Method __repr__ Undocumented
Instance Variable cmd Undocumented
Instance Variable err Undocumented
Instance Variable exit Undocumented
Instance Variable in_ Undocumented
Instance Variable out Undocumented
Instance Variable waits Undocumented
def expect_execution(self, channel): (source)

Assert that the ``channel`` was used to run this command. .. versionadded:: 2.7