<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtbr</author_name>
  <author_url>https://blog.hatena.ne.jp/mtbr/</author_url>
  <blog_title>mtbrの日記</blog_title>
  <blog_url>https://mtbr.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>howto</anon>
  </categories>
  <description>#! /usr/bin/ruby # 2対のパイプを用意 pin, cout = IO.pipe cin, pout = IO.pipe Process.fork { # この中は子プロセス STDIN .reopen cin STDOUT.reopen cout pout.close_write pin.close_read exec &quot;bc&quot; # 子プロセスはこのあと bc になる } # この後は親プロセス cin.close_read cout.close_write STDIN.each { |line| # 標準入力から1行読み取り pout.puts line # それを親プロセ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtbr.hatenadiary.org%2Fentry%2F20060112%2FrubyhowtoRuby&quot; title=&quot; Ruby でプロセス間通信  - mtbrの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-01-12 00:00:00</published>
  <title> Ruby でプロセス間通信 </title>
  <type>rich</type>
  <url>https://mtbr.hatenadiary.org/entry/20060112/rubyhowtoRuby</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
