class

Term2::ExecMsg

Inherits Term2::Message < Reference < Object

ExecMsg is sent to the update loop to request running an external process in a blocking fashion. The terminal will be released (raw mode disabled, cursor shown) while the process runs, and restored afterwards.

Constructors

new(cmd : String, args : Array(String) = [] of String, env : Nil | Hash(String, String) = nil, callback : Nil | Exception | Nil -> Term2::Message | Nil = nil)
Source

Instance methods

args
Source
callback
Source