-
Notifications
You must be signed in to change notification settings - Fork 5
Process
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.
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"
None found yet
Much of the content on these pages is taken from original Irssi documentation and is Copyright © 2000-2010 The Irssi project. Formatting and additional documentation, examples, etc by Tom Feist and the other editors of this wiki. This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. Please see http://creativecommons.org/licenses/by-sa/2.5/ for details.