mirror of
https://github.com/nushell/nushell.git
synced 2025-03-06 11:22:01 +01:00
# Description
Fixes a regression from #9681 where nushell will attempt to place itself
into the background or take control of the terminal even in
non-interactive mode.
Using the same
[reference](https://www.gnu.org/software/libc/manual/html_node/Initializing-the-Shell.html)
from #6584:
>A subshell that runs *interactively* has to ensure that it has been
placed in the foreground...
>A subshell that runs *non-interactively* cannot and should not support
job control.
`fish`
[code](
|
||
---|---|---|
.. | ||
foreground.rs | ||
lib.rs | ||
linux.rs | ||
macos.rs | ||
windows.rs |