<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>karasuyamatengu</author_name>
  <author_url>https://blog.hatena.ne.jp/karasuyamatengu/</author_url>
  <blog_title>karasuyamatenguの日記</blog_title>
  <blog_url>https://karasuyamatengu.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>subprocessでよくコマンドと対話することがある。Pythonのプログラムから外部プログラムの標準入力に書き込み、返答を標準出力から読み込む。いつものようにそういうことしていたら今日はデッドロックになった。 $ cat x.files | python cpio_wrapper.py naive | cpio -t # 何時迄まって待てど終らず… ^CTraceback (most recent call last): File &quot;cpio_wrapper.py&quot;, line 100, in f() File &quot;cpio_wrapper.py&quot;, line 56, in naive pi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkarasuyamatengu.hatenadiary.org%2Fentry%2F20101227%2F1293433267&quot; title=&quot;Python: popenでnonblocking IOをしなくちゃいけなくなった件 - karasuyamatenguの日記&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>2010-12-27 16:01:07</published>
  <title>Python: popenでnonblocking IOをしなくちゃいけなくなった件</title>
  <type>rich</type>
  <url>https://karasuyamatengu.hatenadiary.org/entry/20101227/1293433267</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
