struct

CrystalMcp::Utils::CommandResult

Inherits Struct < Value < Object

Represents the result of an external command execution.

Constructors

new(stdout : String, stderr : String, exit_code : Int32)

Initializes a new CommandResult.

Source

Instance methods

exit_code

The exit status code of the command.

Source
stderr

The standard error output of the command.

Source
stdout

The standard output of the command.

Source
success?

Returns true if the command exited with a zero status code.

Source