mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 12:33:26 +08:00

This is an attempt to solve the test failures on Launchpad's CI. I'm assuming when we do a redirection like foo > file and then try to execute `file` immediately afterwards, we either haven't written it soon enough or closed the file, so we get a "text file busy" error. So, when we do that in a new fish the file should be closed once it quits. See #8021.