mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-25 17:47:57 +01: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:
1 parent
5576c26da8
commit
bc5ddc8698
17 files changed
+988
-783
No files matched your search
@@ -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