fq 0.3.1
fq 0.3.1
Bug-fix release. fq -y -o -s no longer kills fq's own process group — the
"self process" — so it reliably keeps the terminal running and still puts the
Mac to sleep.
Fixed
--othersno longer kills fq's own process group. If an application in the
list led fq's process group (so it was not an ancestor), fq treated it as a
victim and sentSIGKILLto the whole group, taking itself down with it; the
requested-s/--sleepthen never happened. The process-group leader is now
treated as self by--others, andforce_quit_pidnever signals fq's own
process group or pid, so the sleep (and anything else still to do) always
runs.- With no other application to quit,
fq -o -y -sstill puts the Mac to sleep.
Tests
test/test_sleep.shcovers the self-process case: fq is placed in a process
group led by a non-ancestor application and-o -y -smust leave that
application running and still put the Mac to sleep.test/test_fq.mlchecks that a force-quit refuses fq's own pid.
Install
brew install topce/fq/fqNote: an unrelated message broker is also published as
fqin homebrew-core,
so use the fully qualifiedbrew install topce/fq/fq.
Full changelog: https://github.com/topce/fq/blob/main/CHANGELOG.md