in reply to Re^3: How to read from shell command and terminate it afterwards?
in thread How to read from shell command and terminate it afterwards?
What if this small number varies :) ? It can be three, two, five, depending on the circumstances? Then relying on that number can lead to data loss or blocking read.