mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 05:32:44 +08:00

Prior to this fix, if job control is enabled but stdin is not a tty, we would return an error from terminal_maybe_give_to_job which would cause us to avoid waiting for the job. Instead just return notneeded. Fixes #6573.
7 lines
122 B
Fish
7 lines
122 B
Fish
#RUN: echo 'status job-control full; command echo A ; echo B;' | %fish
|
|
|
|
# Regression test for #6573.
|
|
|
|
#CHECK: A
|
|
#CHECK: B
|