mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
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).
This commit is contained in:
@@ -30,6 +30,7 @@ struct t_exec_cmd_options
|
||||
const char *ptr_buffer_name; /* name of buffer */
|
||||
struct t_gui_buffer *ptr_buffer; /* pointer to buffer */
|
||||
int output_to_buffer; /* 1 if output is sent to buffer */
|
||||
int output_to_buffer_exec_cmd; /* execute commands found */
|
||||
int new_buffer; /* 1=new buffer, 2=new buf. free cont*/
|
||||
int new_buffer_clear; /* 1 to clear buffer before output */
|
||||
int switch_to_buffer; /* switch to the output buffer */
|
||||
|
||||
Reference in New Issue
Block a user