From 990c0bc1217d781066206d0caf459e40bf1b1bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 6 Jan 2017 19:22:24 +0100 Subject: exec: add option "-oc" in command /exec to execute commands in process output (closes #877) The behavior of existing option "-o" is changed: now commands are NOT executed (which is more secure by default). --- doc/en/autogen/user/exec_commands.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/en/autogen') diff --git a/doc/en/autogen/user/exec_commands.adoc b/doc/en/autogen/user/exec_commands.adoc index 58379f69c..95cd28808 100644 --- a/doc/en/autogen/user/exec_commands.adoc +++ b/doc/en/autogen/user/exec_commands.adoc @@ -25,7 +25,8 @@ -nostdin: do not create a pipe for stdin (default) -buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created) -l: display locally output of command on buffer (default) - -o: send output of command to the buffer (not compatible with option -bg) + -o: send output of command to the buffer without executing commands (not compatible with option -bg) + -oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with option -bg) -n: display output of command in a new buffer (not compatible with option -bg) -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) -cl: clear the new buffer before displaying output -- cgit v1.2.3