Class Net::SSH::Service::Process::POpen3Manager
In: lib/net/ssh/service/process/popen3.rb
Parent: Object

A delegate class for managing popen3 requests for remote processes.

Methods

new   popen3  

Classes and Modules

Class Net::SSH::Service::Process::POpen3Manager::SSHOutputPipe
Class Net::SSH::Service::Process::POpen3Manager::SSHStderrPipe
Class Net::SSH::Service::Process::POpen3Manager::SSHStdinPipe
Class Net::SSH::Service::Process::POpen3Manager::SSHStdoutPipe

Public Class methods

Create a new POpen3Manager instance on the given connection.

Public Instance methods

Invokes the given command synchronously on the current connection. (This means that parallel commands and operations cannot be executed when this method is used.) This will return nil if the method could not be executed. If the command is successfully invoked, and a block is given, the block is then invoked with the input, output, and error streams of the command as parameters, and the channel is closed as soon as the block terminates. If a block is not given, the input, output, and error channels are returned and the process might not terminate until the session itself terminates.

[Validate]