On Tuesday, 27 August 2019 at 21:01:58 UTC, Andre Pany wrote:
On Tuesday, 27 August 2019 at 20:45:44 UTC, a11e99z wrote:
On Tuesday, 27 August 2019 at 20:09:34 UTC, Andre Pany wrote:

what result u expecting?

u send from "b": e1 10 e2 9
"a" read it. 1st loop finished.
then u send from "b" p.stdout.readln(); that is read as 2nd enemy1=null and finally sleep and exit from b.main where pipe is closed and "a" read null again (no data)
dist1 = null.to!int => error


Reply via email to