Process - shabble/irssi-docs GitHub Wiki

Irssi::UI::Process

home | Irssi | UI

Due to the way Irssi operations in an cooperative, asynchronous matter, external program cannot be replied upton to return within a sufficiently small timescale to allow for irssi to continue operating properly.

Instead, the irssi forks to run the external application, and communicates with it over a pair of sockets. The GLib mainloop handles the polling via a GLIB IO Channel

Once a response is signalled by the polling system, callbacks are triggered immediately, which allow the script to read data from the pipes, knowing it won't block.

ATTRIBUTES

Process->{}

id - ID for the process
name - Name for the process (if given)
args - The command that is being executed

pid - PID for the executed command
target - send text with /msg <target> ...
target_win - print text to this window

shell - start the program via /bin/sh
notice - send text with /notice, not /msg if target is set
silent - don't print "process exited with level xx"

METHODS

None found yet

⚠️ **GitHub.com Fallback** ⚠️