mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 03:02:40 +02:00
allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform
This commit is contained in:
+3
-2
@@ -4545,7 +4545,7 @@ uw_unbind_readline_variables (void *ignore)
|
||||
int
|
||||
bash_execute_unix_command (int count, int key)
|
||||
{
|
||||
int type;
|
||||
int type, pflags;
|
||||
register int i, r;
|
||||
intmax_t mi;
|
||||
sh_parser_state_t ps;
|
||||
@@ -4627,7 +4627,8 @@ bash_execute_unix_command (int count, int key)
|
||||
add_unwind_protect (uw_unbind_readline_variables, 0);
|
||||
add_unwind_protect (uw_restore_parser_state, &ps);
|
||||
add_unwind_protect (uw_rl_set_signals, 0);
|
||||
r = parse_and_execute (savestring (cmd), "bash_execute_unix_command", SEVAL_NOHIST);
|
||||
pflags = interactive_shell ? (SEVAL_NOTIFY|SEVAL_NOHIST) : SEVAL_NOHIST;
|
||||
r = parse_and_execute (savestring (cmd), "bash_execute_unix_command", pflags);
|
||||
rl_set_signals ();
|
||||
restore_parser_state (&ps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user