struct

Fluxion::ProcessResult

Inherits Struct < Value < Object

What a finished process reported.

Constructors

new(exit_code : Int32, stdout : String = "", stderr : String = "", elapsed : Time::Span = Time::Span.zero)
Source

Instance methods

detail

stdout and stderr are merged by the process launcher, so stderr is normally empty and this is effectively stdout. It stays a single accessor so callers do not have to know that.

Source
elapsed
Source
exit_code
Source
stderr
Source
stdout
Source
success?
Source