On Saturday, June 25, 2016 at 8:53:53 PM UTC-4, Michael Soulier wrote:
>
> Unfortunately not. runsv starts the logger and connects the service's 
> stdout to the logger's stdin. It opens this pipe even if the service isn't 
> up yet, so when you read from stdin, it immediately returns with an EOF, 
> and does not block. That's why svlogd uses poll on stdin.
>
> If I were simply accepting input from a piped shell command, you'd be 
> right. I wish I were.
>
>
Hmm. Maybe I misunderstand how runsv connects the two. A simple shell test 
seems to behave more as expected. I'll need to dig.

Mike 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to