Merged from silc_1_0_branch.
[silc.git] / apps / irssi / docs / help / in / exec.in
1
2 @SYNTAX:exec@
3
4      -: Don't print "process terminated ..." message
5      -nosh: Don't start command through /bin/sh
6      -out: Send output to active channel/query
7      -msg: Send output to specified nick/channel
8      -notice: Send output to specified nick/channel as notices
9      -name: Name the process so it could be accessed easier
10
11      -window: Move the output of specified process to active window
12      -close: Forcibly close (or "forget") a process that doesn't die.
13              This only removes all information from irssi concerning the
14              process, it doesn't send SIGKILL or anything the process.
15      -<signal>: Send a signal to process. <signal> can be either numeric
16                 or one of the few most common ones (hup, term, kill, ...)
17
18      -in: Send text to standard input of the specified process
19      -interactive: Creates a query-like window item. Text written to it is
20                    sent to executed process, like /EXEC -in.
21
22 Execute specified command in background. Output of process is printed
23 to active window by default, but can be also sent as messages or
24 notices to specified nick or channel.
25
26 Processes can be accessed either by their ID or name if you named it.
27 Process identifier must always begin with '%%' character, like %%0 or
28 %%name.
29
30 Once the process is started, it's output can still be redirected
31 elsewhere with the -window, -msg, etc. options. You can send text to
32 standard input of the process with -in option.
33
34 -close option shouldn't probably be used if there's a better way to
35 kill the process. It is meant to remove the processes that don't die
36 even with SIGKILL. This option just closes the pipes used to
37 communicate with the process and frees all memory it used.
38
39 See also: CAT, CD
40