ParentFull threadayosec·sponge[1] is very useful in this scenario. The output file is written only when the `thing | thing | thing` finishes successfully.[1]: https://linux.die.net/man/1/spongeView on HN