Pty::Process
Wrap ::Process.run with a pipe for stdin and Pty for stdout/stderr
Instance methods
pty
Sourcerun(cmd : String, args = nil, *, shell : Bool = false, width = nil, height = nil, win_size = nil, &)
Run with a pipe as input. Make sure to close the pipe or cmd may not exit
See ::Process#new for a description of parameters
run(cmd : String, args = nil, *, input : IO::FileDescriptor, shell : Bool = false, width = nil, height = nil, win_size = nil, &)
Run with the specified input. Make sure to close input or cmd may not exit
See ::Process#new for a description of parameters