struct CrystalMcp::Utils::CommandResult

Overview

Represents the result of an external command execution.

Defined in:

utils.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stdout : String, stderr : String, exit_code : Int32) #

Initializes a new CommandResult.


[View source]

Instance Method Detail

def exit_code : Int32 #

The exit status code of the command.


[View source]
def stderr : String #

The standard error output of the command.


[View source]
def stdout : String #

The standard output of the command.


[View source]
def success? #

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


[View source]