mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 09:13:14 +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
@@ -9635,10 +9635,10 @@ Paramètres :
|
||||
**** _3_ : pas assez de mémoire
|
||||
**** _4_ : erreur avec un fichier
|
||||
*** _< 0_ :
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_ : données disponibles, mais le fils tourne
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_ (-1) : données disponibles, mais le fils tourne
|
||||
toujours
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_ : erreur en lançant la commande
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_: la fonction de rappel est appelée dans le
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_ (-2) : erreur en lançant la commande
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_ (-3) : la fonction de rappel est appelée dans le
|
||||
processus fils (utilisé seulement dans l'API C, pas l'API script)
|
||||
** _out_ : sortie standard de la commande (stdout)
|
||||
** _err_ : erreurs de la commande (stderr)
|
||||
|
||||
Reference in New Issue
Block a user