runners¶
-
class
fabric.runners.Remote(*args, **kwargs)¶ Run a shell command over an SSH connection.
This class subclasses
invoke.runners.Runner; please see its documentation for most public API details.Note
Remote’s__init__method expects aConnection(or subclass) instance for itscontextargument.New in version 2.0.
-
__init__(*args, **kwargs)¶ Thin wrapper for superclass’
__init__; please see it for details.Additional keyword arguments defined here are listed below.
Parameters: inline_env (bool) – Whether to ‘inline’ shell env vars as prefixed parameters, instead of trying to submit them via Channel.update_environment. Default::False.Changed in version 2.3: Added the
inline_envparameter.
-
-
class
fabric.runners.Result(**kwargs)¶ An
invoke.runners.Resultexposing whichConnectionwas run against.Exposes all attributes from its superclass, then adds a
.connection, which is simply a reference to theConnectionwhose method yielded this result.New in version 2.0.