-
Notifications
You must be signed in to change notification settings - Fork 6
Process
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.
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.