Module: Psychic::Shell
- Included in:
- Runner::BaseRunner
- Defined in:
- lib/psychic/shell.rb,
lib/psychic/shell/execution_result.rb,
lib/psychic/shell/mixlib_shellout_executor.rb
Defined Under Namespace
Classes: ExecutionError, ExecutionResult, IOToLog, MixlibShellOutExecutor
Constant Summary
collapse
- AVAILABLE_OPTIONS =
[
:cwd, :domain, :password, :user, :group, :umask,
:timeout, :returns, :live_stream, :live_stdout,
:live_stderr, :input, :logger, :log_level, :log_tag, :env
]
Class Attribute Summary collapse
Instance Method Summary
collapse
Class Attribute Details
.shell ⇒ Object
18
19
20
|
# File 'lib/psychic/shell.rb', line 18
def self.shell
@shell ||= MixlibShellOutExecutor.new
end
|
Instance Method Details
#shell ⇒ Object
22
23
24
|
# File 'lib/psychic/shell.rb', line 22
def shell
Psychic::Shell.shell
end
|