Unify closure of the write end of the pipe
commit4abb5e89787c78db66ce7dbe5dc0c4b3f0deb4d1
authormalc <moosotc@gmail.com>
Tue, 31 Jan 2017 12:20:38 +0000 (31 15:20 +0300)
committermalc <moosotc@gmail.com>
Tue, 31 Jan 2017 12:20:38 +0000 (31 15:20 +0300)
tree2cffbbb594f2a6dfc57195abbbdacaf98500011d
parent7f82ab821905abb341a8c4748495de13a781f070
Unify closure of the write end of the pipe

-1 in in (w,-1) spawn agument implies closure on the _child_ side.
main.ml