Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
22
bitchx-docs/5_Programming/on/exec
Normal file
22
bitchx-docs/5_Programming/on/exec
Normal file
@@ -0,0 +1,22 @@
|
||||
Synopsis:
|
||||
on [<modes>]exec [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever an EXECed process generates output to
|
||||
standard output.
|
||||
|
||||
Parameters:
|
||||
$0 the pid of the EXECed process that triggered the hook (an internal
|
||||
| number, not the system pid); if the process was started with the
|
||||
| -name switch, the name specified is returned instead
|
||||
$1- a line of the process's output stderr
|
||||
|
||||
Examples:
|
||||
To distinguish process output from other window output:
|
||||
on ^exec "*" {
|
||||
echo [$0] $1-
|
||||
}
|
||||
|
||||
See Also:
|
||||
exec(5); on(5) exec_errors, exec_exit, exec_prompt
|
||||
|
||||
Reference in New Issue
Block a user