data Process::Output(status: Int, stdout: String, stderr: String)

What a child process produced: Process.run("ls", "-l"), Process.sh("ls | wc -l").

<prelude>:6589

Methods

def status -> Int

The exit status: 0 for success, -1 when a signal ended the process.

<prelude>:6591

def stdout -> String

Everything the process wrote to its standard output.

<prelude>:6593

def stderr -> String

Everything the process wrote to its standard error.

<prelude>:6595

def success? -> Bool

Whether the status is 0.

<prelude>:6598

def with(status: Int = …, stdout: String = …, stderr: String = …) -> Process::Output

A copy with the fields given replaced.

<prelude>:6598

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

<prelude>:6598