Re:A future for fork(2)
by sjmulder on Friday October 05, 2018 @10:05AM
(#18148197)
All fair points. I didn't really consider creating processes in a non-fork way. I'd probably miss the easy transfer of unnamed shared objects you get with forking. How do unrelated processes usually initiate communication?
[ Parent
| on HN ]
> How do unrelated processes usually initiate communication?
They aren't unrelated, they are parent and child. They know PIDs of each other. Parent can read/write stuff to child's streams, input output error. Child inherits opened files. Parent can set command-line arguments & environment variables for the child.