-
-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Description
It appears that EachLine() is only called after a pipe is closed. This prevents using script to write daemon scripts.
If there's a way to perform the equivalent of:
dbus-monitor --system "interface=org.freedesktop.DBus.Properties" | \
while read -r line; do
printf "DBus event: %s\n" "$line"
done
would it be possible to get an example? If not, can we change the behavior of EachLine() to process each line as it is received, or add an EachLineForever() function?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels