<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>本物のプログラマはHaskellを使う / 第5回 ListではなくMaybeを使う意義に runInteractiveProcess関数を使った例があります。 runInteractiveProcessは，実行するファイルの名前とコマンドライン引数を渡し，別のプロセスでそのコマンドを実行する関数です。オプションとして，第3引数に作業ディレクトリを，第4引数に環境変数を与えることができます。 第4引数は，環境変数とその値の「対（pair，ペア）」です。(Just [(&quot;HREF_DATADIR&quot;,&quot;home&quot;)]) 返り値は，stdin，stdout，stderrを示すハンドル（Handle）…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110216%2F1297839298&quot; title=&quot; Haskell から外部コマンドを実行してみる - sirocco の書いてもすぐに忘れるメモ&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>2011-02-16 15:54:58</published>
  <title> Haskell から外部コマンドを実行してみる</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20110216/1297839298</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
