mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +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:
@@ -53,6 +53,7 @@ struct t_exec_cmd
|
||||
|
||||
/* display */
|
||||
int output_to_buffer; /* 1 if output is sent to buffer */
|
||||
int output_to_buffer_exec_cmd; /* 1 if commands are executed */
|
||||
char *buffer_full_name; /* buffer where output is displayed */
|
||||
int line_numbers; /* 1 if lines numbers are displayed */
|
||||
int color; /* what to do with ANSI colors */
|
||||
|
||||
Reference in New Issue
Block a user