Skip to content
Tom Feist edited this page Jan 17, 2011 · 32 revisions

Irssi::UI::Process

home | Irssi | UI    ATTRIBUTES
   METHODS

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

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

Once a respose is signalled by he polling system, callbacks are triggered immmediaely, 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

Clone this wiki locally