{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/4350","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4350/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4350/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4350/events","html_url":"https://github.com/crystal-lang/crystal/issues/4350","id":225274167,"number":4350,"title":"Process communication and parallelism","user":{"login":"oltmannsdaniel","id":10303701,"avatar_url":"https://avatars1.githubusercontent.com/u/10303701?v=4","gravatar_id":"","url":"https://api.github.com/users/oltmannsdaniel","html_url":"https://github.com/oltmannsdaniel","followers_url":"https://api.github.com/users/oltmannsdaniel/followers","following_url":"https://api.github.com/users/oltmannsdaniel/following{/other_user}","gists_url":"https://api.github.com/users/oltmannsdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/oltmannsdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oltmannsdaniel/subscriptions","organizations_url":"https://api.github.com/users/oltmannsdaniel/orgs","repos_url":"https://api.github.com/users/oltmannsdaniel/repos","events_url":"https://api.github.com/users/oltmannsdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/oltmannsdaniel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-29T17:59:06Z","updated_at":"2017-09-10T16:43:29Z","closed_at":"2017-09-10T16:43:29Z","author_association":"NONE","body":"Currently I try to figure out, how I can run my script on multiple processes. Sure, there is the `Process` Class (https://crystal-lang.org/api/0.22.0/Process.html), but the communication between processes is missing. My question is now:\r\n\r\n**How can I send a String from one child process, to the master/main one?**\r\n\r\nWhat I already tried:\r\n\r\n- _Get the process output_ = Not working that good, and where can I actually hide the output from the user??\r\n- _Save result to a file_ = Complicated to convert that to an variable in my master process.\r\n\r\n## My idea:\r\nA cluster libary with the ability to send messages from the child process to the master one and the other way around. Inspiration [here](https://nodejs.org/api/process.html#process_event_message)."},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/328355039","html_url":"https://github.com/crystal-lang/crystal/issues/4350#issuecomment-328355039","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4350","id":328355039,"user":{"login":"asterite","id":209371,"avatar_url":"https://avatars0.githubusercontent.com/u/209371?v=4","gravatar_id":"","url":"https://api.github.com/users/asterite","html_url":"https://github.com/asterite","followers_url":"https://api.github.com/users/asterite/followers","following_url":"https://api.github.com/users/asterite/following{/other_user}","gists_url":"https://api.github.com/users/asterite/gists{/gist_id}","starred_url":"https://api.github.com/users/asterite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asterite/subscriptions","organizations_url":"https://api.github.com/users/asterite/orgs","repos_url":"https://api.github.com/users/asterite/repos","events_url":"https://api.github.com/users/asterite/events{/privacy}","received_events_url":"https://api.github.com/users/asterite/received_events","type":"User","site_admin":false},"created_at":"2017-09-10T16:43:29Z","updated_at":"2017-09-10T16:43:29Z","author_association":"CONTRIBUTOR","body":"The above reply probably closed the issue again. "}}
{"actor":{"display_login":"asterite"}}