# read lines from command's stdout. whenever continuous block of data arrives,
# run zsvgen to update which services to run
zsv_hooks
"${run[@]}" "${args[@]}" | \
while read; do  # TODO make this work as advertised, read lines for now
# while read -k; do
# 	while read -k -t; do; done
	zsvgen /run/zsv.log
done
# vim: ft=zsh noet ts=4 sts=4 sw=4