You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks the following change: mark a job as completed only when all processes are finished.
An example of an affected command:
sleep 10 | echo Hi
Today in fish, this finishes immediately, because echo does not read from its input pipe. With this change, this job will not finish for 10 seconds.
Advantages:
It's arguably more intuitive
It makes it possible to implement pipefail (add pipefail #763), because we will wait until we have the exit status of all commands in the pipeline
It eliminates a certain class of race conditions that occur if the last process is not in the process group of the session leader (pwd | pwd crashes #848)
It matches bash and zsh (though not tcsh)
The text was updated successfully, but these errors were encountered:
This issue tracks the following change: mark a job as completed only when all processes are finished.
An example of an affected command:
Today in fish, this finishes immediately, because
echo
does not read from its input pipe. With this change, this job will not finish for 10 seconds.Advantages:
The text was updated successfully, but these errors were encountered: