From 2a18daad6b0da26b37fbeadd645e3108702995ba Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 6 Dec 2010 18:59:27 +0100 Subject: Add note about automatic unhook for function hook_process in plugin API reference --- doc/en/weechat_plugin_api.en.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/en') diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index f89eab55d..129ce8ff7 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -6208,6 +6208,9 @@ Return value: * pointer to new hook, NULL if error occured +When command has ended, or if timeout is reached, WeeChat will automatically +unhook (and kill process if it is still running). + [NOTE] Buffer size for sending data to callback is 64KB (there are 2 buffers: one for stdout and one for stderr). -- cgit v1.2.3