enum

Process::Redirect

Inherits Enum / Comparable / Value / Object

How to redirect the standard input, output and error IO of a process.

Constants

Pipe = 0

Pipe the IO so the parent process can read (or write) to the process IO through #input, #output or #error.

Close = 1

Discards the IO.

Inherit = 2

Use the IO of the parent process.

Instance methods

close?

Returns true if this enum value equals Close

Source
inherit?

Returns true if this enum value equals Inherit

Source
pipe?

Returns true if this enum value equals Pipe

Source