summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-17 14:59:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-17 14:59:00 +0100
commit30de830982f127c538602f05f4c9eb32d5f991cf (patch)
tree11efa828a77f50f5a405e9a5a8052a48f417dd43 /doc/pl
parente84eaafe8e56c359f95db0d19a13c5ca6fad9468 (diff)
downloadweechat-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/pl')
-rw-r--r--doc/pl/autogen/user/exec_commands.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/pl/autogen/user/exec_commands.txt b/doc/pl/autogen/user/exec_commands.txt
index b8048d429..b803918e0 100644
--- a/doc/pl/autogen/user/exec_commands.txt
+++ b/doc/pl/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)