struct
CrystalMcp::Utils::CommandResult
- CrystalMcp::Utils::CommandResult
- Struct
- Value
- Object
Overview
Represents the result of an external command execution.
Defined in:
utils.crConstructors
-
.new(stdout : String, stderr : String, exit_code : Int32)
Initializes a new
CommandResult.
Instance Method Summary
-
#exit_code : Int32
The exit status code of the command.
-
#stderr : String
The standard error output of the command.
-
#stdout : String
The standard output of the command.
-
#success?
Returns
trueif the command exited with a zero status code.
Constructor Detail
def self.new(stdout : String, stderr : String, exit_code : Int32)
#
Initializes a new CommandResult.