diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-17 14:59:00 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-17 14:59:00 +0100 |
commit | 30de830982f127c538602f05f4c9eb32d5f991cf (patch) | |
tree | 11efa828a77f50f5a405e9a5a8052a48f417dd43 /doc/en/autogen | |
parent | e84eaafe8e56c359f95db0d19a13c5ca6fad9468 (diff) | |
download | weechat-30de830982f127c538602f05f4c9eb32d5f991cf.zip |
exec: don't use shell by default when executing commands (for security reasons)
It is possible to force shell by default with this command:
/set exec.command.default_options "-sh"
Diffstat (limited to 'doc/en/autogen')
-rw-r--r-- | doc/en/autogen/user/exec_commands.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/autogen/user/exec_commands.txt b/doc/en/autogen/user/exec_commands.txt index b8048d429..b803918e0 100644 --- a/doc/en/autogen/user/exec_commands.txt +++ b/doc/en/autogen/user/exec_commands.txt @@ -13,8 +13,8 @@ -del <id>|-all [<id>...] -list: list commands - -sh: use the shell to execute the command (default) - -nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) + -sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh) + -nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default) -bg: run process in background: do not display process output neither return code (not compatible with options -o/-n) -nobg: catch process output and display return code (default) -stdin: create a pipe for sending data to the process (with /exec -in/-inclose) |