<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n9d</author_name>
  <author_url>https://blog.hatena.ne.jp/n9d/</author_url>
  <blog_title>計算機と戯れる日々</blog_title>
  <blog_url>https://n9d.hatenadiary.org/</blog_url>
  <categories>
    <anon>コンピュータ</anon>
  </categories>
  <description>gaucheでコマンドの実行時に文字列を標準入力として与え、その結果を得るためには call-with-process-io を使う。portをcloseするのがめんどくさい。[http://d.hatena.ne.jp/n9d/20070218/1171800306:title]&quot;&gt;*1 なぜdisplayをprintにすると動かなくなるかは不明。 &gt;&gt;(use gauche.process) =&gt;#&lt;undef&gt; &gt;&gt;((lambda (cmd str) (call-with-process-io cmd (lambda (in out) (display str out)(close-o…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn9d.hatenadiary.org%2Fentry%2F20080401%2F1207047361&quot; title=&quot;Gaucheでコマンドの実行時に文字列を標準入力として与え、その結果を得るためには - 計算機と戯れる日々&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>2008-04-01 19:56:01</published>
  <title>Gaucheでコマンドの実行時に文字列を標準入力として与え、その結果を得るためには</title>
  <type>rich</type>
  <url>https://n9d.hatenadiary.org/entry/20080401/1207047361</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
