#Blocking on subprocess pipes

1 messages · Page 1 of 1 (latest)

spice gate
#

While I doubt that is helping, I'm actually surprised iterating over stdout isn't sufficient to keep the subprocess going. I guess a one byte buffer could be jamming something up in a codec somewhere, since the stream is in text mode.

Certainly worth trying the change, since the read is line-buffered anyway, so the small buffer is just going to be increasing interprocess comms overhead without reducing display latency.

civic yacht
#

Hmmmm

#

I will try to implement your approach

civic yacht
#

I copied the one from hatch, seems to work well

#

I will pray that it fixes issues

jovial cairn
#

fixed?

civic yacht
#

No one reported any issues so far

#

I couldn't replicate it with or without

#

Pushed an update yesterday

#

But I can tell that it feels more responsive now, compared to the previous implementation

civic yacht
civic yacht
#

Thanks for the help you guys!

#

It seems to work, I asked someone who ran into this issue previously and they not only installed it without issue but they also noted it seemed more responsive

#

So bufsize was definitely not a great call