1
0
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:
Sébastien Helleu
2017-01-06 19:22:24 +01:00
parent e01ed80669
commit 990c0bc121
24 changed files with 311 additions and 210 deletions
+1
View File
@@ -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 */