|The stupid question is the question not asked|
Re^7: How can I read DATA in parent and child?by Skeeve (Parson)
|on Feb 19, 2019 at 10:25 UTC||Need Help??|
This is really weird…
I removed the sleep commands and printed the $pos in the start message.
Both processes tell the same startposition. Nevertheless I also get non-15 lines of output every now and then. 1536 loops were okay, then the parent didn't read any lines.
My modified 123099.pl code:
And my modified version of your test-bash:
Update I've run it several times now and this is the result:
So after an unpredictable amount of iterations (6 to 2182) the scripts prints 10 instead of 15 lines…