1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

exec: add options "-rc"/"-norc" (display return code) in command /exec

This commit is contained in:
Sebastien Helleu
2014-03-13 07:56:20 +01:00
parent 571a7a5dbe
commit 0eca1fd20b
4 changed files with 21 additions and 4 deletions
+2 -1
View File
@@ -37,10 +37,11 @@ struct t_exec_cmd
time_t start_time; /* start time */
time_t end_time; /* end time */
/* buffer */
/* display */
int output_to_buffer; /* 1 if output is sent to buffer */
char *buffer_full_name; /* buffer where output is displayed */
int line_numbers; /* 1 if lines numbers are displayed */
int display_rc; /* 1 if return code is displayed */
/* command output */
int stdout_size; /* number of bytes in stdout */