User Tools

Site Tools


on_exec_errors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

on_exec_errors [2007/03/02 21:50] (current)
Line 1: Line 1:
 +======Synopsis:​======
 +[[on]] [<​modes>​]exec_errors [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +
 +======Description:​======
 +This hook is triggered whenever an [[exec command|EXEC]]ed process produces output to
 +standard error.
 +
 +======Parameters:​======
 +|$0    |process number or name of the [[exec command|EXEC]]ed process ​  |
 +|$1-   |a line of the process'​s output to stderr ​                       |
 +
 +======Default behavior:​======
 +If you do not suppress this event, the client will format the message
 +and display it to your screen **UNLESS** you are redirecting the output
 +of that [[exec]] to somewhere else.
 +
 +======Examples:​======
 +To distinguish process errors from other window output:
 +   on ^exec_errors "​*"​ {
 +      echo [$0 ERR] $1-
 +   }
 +
  
on_exec_errors.txt ยท Last modified: 2007/03/02 21:50 (external edit)