Merge Irssi 0.8.16-rc1
[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 any other signal
15              to the process.
16      -<signal>: Send a signal to process. <signal> can be either numeric
17                 or one of the few most common ones (hup, term, kill, ...)
18
19      -in: Send text to standard input of the specified process
20      -interactive: Creates a query-like window item. Text written to it is
21                    sent to executed process, like /EXEC -in.
22
23 Execute specified command in background. Output of process is printed
24 to active window by default, but can be also sent as messages or
25 notices to specified nick or channel.
26
27 Processes can be accessed either by their ID or name if you named it.
28 Process identifier must always begin with '%%' character, like %%0 or
29 %%name.
30
31 Once the process is started, its output can still be redirected
32 elsewhere with the -window, -msg, etc. options. You can send text to
33 standard input of the process with -in option.
34
35 -close option shouldn't probably be used if there's a better way to
36 kill the process. It is meant to remove the processes that don't die
37 even with SIGKILL. This option just closes the pipes used to
38 communicate with the process and frees all memory it used.
39
40 EXEC without any arguments displays the list of started processes.
41