mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 00:20:49 +02:00
wait -n' notifies on a job it returns; in posix mode, wait' defers notification on a reaped pid unless the shell is interactive, as posix now specifies
This commit is contained in:
@@ -348,7 +348,7 @@ parse_command (void)
|
||||
if (interactive && bash_input.type != st_string && parser_expanding_alias() == 0)
|
||||
{
|
||||
#if defined (JOB_CONTROL)
|
||||
notify_and_cleanup ();
|
||||
notify_and_cleanup (-1);
|
||||
#endif
|
||||
#if defined (READLINE)
|
||||
if (no_line_editing || (bash_input.type == st_stdin && parser_will_prompt ()))
|
||||
|
||||
Reference in New Issue
Block a user