doc: add a column "default" in the table with hook_process_hashtable options (plugin API reference)
parent
86cfce07f0
commit
2b7ea69d00
|
@ -8609,13 +8609,14 @@ Arguments are the same as function <<_hook_process,hook_process>>, with an extra
|
|||
For a standard command (not beginning with "url:"), following options are
|
||||
available:
|
||||
|
||||
[width="100%",cols="^1,1,3",options="header"]
|
||||
[width="100%",cols="^1,1,1,4",options="header"]
|
||||
|===
|
||||
| Option | Value | Description
|
||||
| Option | Value | Default | Description
|
||||
|
||||
| argN (N ≥ 1) +
|
||||
_(WeeChat ≥ 0.4.0)_ |
|
||||
any string |
|
||||
no arguments |
|
||||
Arguments for command; if no argument is given with these options,
|
||||
the command is automatically split like the shell does (and then command
|
||||
arguments are read in the _command_ argument).
|
||||
|
@ -8623,18 +8624,22 @@ available:
|
|||
| stdin +
|
||||
_(WeeChat ≥ 0.4.3)_ |
|
||||
(not used) |
|
||||
no stdin |
|
||||
Create a pipe for writing data on standard input (stdin) of child process
|
||||
(see function <<_hook_set,hook_set>>).
|
||||
|
||||
| buffer_flush +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
number of bytes |
|
||||
65536 |
|
||||
Minimum number of bytes to flush stdout/stderr (to send output to callback),
|
||||
between 1 and 65536 (default); 1 = send any output immediately to the callback.
|
||||
between 1 and 65536. With the value 1, the output is sent immediately to the
|
||||
callback.
|
||||
|
||||
| detached +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
(not used) |
|
||||
not detached |
|
||||
Run the process in a detached mode: stdout and stderr are redirected to
|
||||
_/dev/null_.
|
||||
|===
|
||||
|
|
|
@ -8772,13 +8772,14 @@ Les paramètres sont les mêmes que ceux de la fonction
|
|||
Pour une commande standard (ne commençant pas par "url:"), les options suivantes
|
||||
sont disponibles :
|
||||
|
||||
[width="100%",cols="^1,1,3",options="header"]
|
||||
[width="100%",cols="^1,1,1,4",options="header"]
|
||||
|===
|
||||
| Option | Valeur | Description
|
||||
| Option | Valeur | Défaut | Description
|
||||
|
||||
| argN (N ≥ 1) +
|
||||
_(WeeChat ≥ 0.4.0)_ |
|
||||
toute chaîne |
|
||||
pas de paramètres |
|
||||
Paramètres pour la commande ; si aucun paramètre n'est donné avec ces options,
|
||||
la commande sera automatiquement découpée comme le fait le shell (et donc les
|
||||
paramètres de la commande sont lus dans le paramètre _command_).
|
||||
|
@ -8786,19 +8787,22 @@ sont disponibles :
|
|||
| stdin +
|
||||
_(WeeChat ≥ 0.4.3)_ |
|
||||
(non utilisée) |
|
||||
pas de stdin |
|
||||
Créer un tuyau pour écrire sur l'entrée standard (stdin) du processus fils
|
||||
(voir la fonction <<_hook_set,hook_set>>).
|
||||
|
||||
| buffer_flush +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
nombre d'octets |
|
||||
65536 |
|
||||
Nombre minimum d'octets pour vider stdout/stderr (pour envoyer la sortie à la
|
||||
fonction de rappel), entre 1 et 65536 (par défaut); 1 = envoyer toute sortie
|
||||
fonction de rappel), entre 1 et 65536. Avec la valeur 1, la sortie est envoyée
|
||||
immédiatement à la fonction de rappel.
|
||||
|
||||
| detached +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
(non utilisée) |
|
||||
non détaché |
|
||||
Lancer le process dans un mode détaché : stdout et stderr sont redirigés vers
|
||||
_/dev/null_.
|
||||
|===
|
||||
|
|
|
@ -8869,14 +8869,15 @@ For a standard command (not beginning with "url:"), following options are
|
|||
available:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="^1,1,3",options="header"]
|
||||
[width="100%",cols="^1,1,1,4",options="header"]
|
||||
|===
|
||||
| Option | Value | Description
|
||||
| Option | Value | Default | Description
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| argN (N ≥ 1) +
|
||||
_(WeeChat ≥ 0.4.0)_ |
|
||||
any string |
|
||||
no arguments |
|
||||
Arguments for command; if no argument is given with these options,
|
||||
the command is automatically split like the shell does (and then command
|
||||
arguments are read in the _command_ argument).
|
||||
|
@ -8885,6 +8886,7 @@ available:
|
|||
| stdin +
|
||||
_(WeeChat ≥ 0.4.3)_ |
|
||||
(not used) |
|
||||
no stdin |
|
||||
Create a pipe for writing data on standard input (stdin) of child process
|
||||
(see function <<_hook_set,hook_set>>).
|
||||
|
||||
|
@ -8892,13 +8894,16 @@ available:
|
|||
| buffer_flush +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
number of bytes |
|
||||
65536 |
|
||||
Minimum number of bytes to flush stdout/stderr (to send output to callback),
|
||||
between 1 and 65536 (default); 1 = send any output immediately to the callback.
|
||||
between 1 and 65536. With the value 1, the output is sent immediately to the
|
||||
callback.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| detached +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
(not used) |
|
||||
not detached |
|
||||
Run the process in a detached mode: stdout and stderr are redirected to
|
||||
_/dev/null_.
|
||||
|===
|
||||
|
|
|
@ -8614,32 +8614,42 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
|
|||
一般的なコマンド (最初に "url:" が付かないコマンド)
|
||||
では、以下のオプションを使うことができます:
|
||||
|
||||
[width="100%",cols="^1,1,3",options="header"]
|
||||
[width="100%",cols="^1,1,1,4",options="header"]
|
||||
|===
|
||||
| オプション | 値 | 説明
|
||||
// TRANSLATION MISSING
|
||||
| オプション | 値 | Default | 説明
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| argN (N は 1 以上) +
|
||||
_(WeeChat バージョン 0.4.0 以上で利用可)_ |
|
||||
任意の文字列 |
|
||||
no arguments |
|
||||
コマンドの引数;
|
||||
このオプションを使って引数を渡さない場合、シェルと同じように引数を自動的に分割します
|
||||
(_command_ 引数からコマンド引数をロードします)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| stdin +
|
||||
_(WeeChat バージョン 0.4.3 以上で利用可)_ |
|
||||
(非使用) |
|
||||
no stdin |
|
||||
データを書き込むためのパイプを子プロセスの標準入力 (stdin)
|
||||
に作成します (関数 <<_hook_set,hook_set>> を参照)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| buffer_flush +
|
||||
_(WeeChat バージョン 1.0 以上で利用可)_ |
|
||||
バイト数 |
|
||||
標準出力および標準エラー出力をフラッシュ (出力をコールバックに送信) するバイト数の最小値、
|
||||
1 から 65536 (デフォルト) まで; 1 = すべての出力をすぐにコールバックに送信
|
||||
65536 |
|
||||
Minimum number of bytes to flush stdout/stderr (to send output to callback),
|
||||
between 1 and 65536. With the value 1, the output is sent immediately to the
|
||||
callback.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| detached +
|
||||
_(WeeChat バージョン 1.0 以上で利用可)_ |
|
||||
(非使用) |
|
||||
not detached |
|
||||
detached モードでプロセスを実行: 標準出力と標準エラー出力を
|
||||
_/dev/null_ にリダイレクトする
|
||||
|===
|
||||
|
|
Loading…
Reference in New Issue