mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
doc/api: Add values for hook_process constants
When logging this value I just see a number so I have to look up what it means. Previously you would have to check the code or print the value of each of these constants to see it. Seeing the value directly in the documentation makes this much easier.
This commit is contained in:
committed by
Sébastien Helleu
parent
135960859d
commit
76d4cc7e3f
@@ -9468,9 +9468,9 @@ Arguments:
|
||||
**** _3_: not enough memory
|
||||
**** _4_: error with a file
|
||||
*** _< 0_:
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_: data available, but child still running
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_: error when launching command
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_: callback is called in the child process
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_ (-1): data available, but child still running
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_ (-2): error when launching command
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_ (-3): callback is called in the child process
|
||||
(used only in C API, not scripting API)
|
||||
** _out_: standard output of command (stdout)
|
||||
** _err_: error output of command (stderr)
|
||||
|
||||
Reference in New Issue
Block a user