class

Shirk::ExecContext

Inherits Reference < Object

Context passed to exec/shell callbacks NOTE: stdin data is collected before the handler is called. When your handler runs, all stdin data is already available via stdin.

Constructors

new(channel : LibSSH::Channel, command : String, user : String, stdin : String)
Source

Instance methods

command
Source
stdin
Source
user
Source
write(data : String)

Write to stdout

Source
write_stderr(data : String)

Write to stderr

Source