mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-19 05:50:53 +01:00
On FreeBSD process capture was a stub that returned "only available on Linux and macOS", so a console study kept no runs and a console run check never ran the build. The nightly FreeBSD job has failed on the two tests that cover them since they landed (#1679, #1702). FreeBSD now captures the way Windows does: the program runs through platform::process (its process group is ended with it) and its output is read through pipes, which keep what a short program wrote after it exits; a terminal on FreeBSD loses it. Scripted input, resizes, signals and watched files still need the terminal capture and are refused there. The pipe capture now has a Unix test, and capture_and_compare_echo runs on every Unix rather than only Linux and macOS.