mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
3e8422f472
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
|