<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oraccha</author_name>
  <author_url>https://blog.hatena.ne.jp/oraccha/</author_url>
  <blog_title>Plan9日記</blog_title>
  <blog_url>https://oraccha.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>UNIXを勉強すると、forkとexecが分離されていることに疑問を持ち、パイプやリダイレクトを使ってシェルを作り、その合理性に感動するというのが、お決まりのパターンになっているが、なぜこんな実装が生まれてきたのだろう。WindowsのネイティブAPIであるNtCreateProcessや、その祖先とも言える*1VMSのsys$creprcは、意味的にはforkとexecが一体化されている。まぁ、こっちの方がプロセス生成という意味では自然なアプローチに感じられるが、sys$creprcの山のような引数を見ると、これを使ってプログラムを書く気は萎えてくる。input、output、errorって…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foraccha.hatenadiary.org%2Fentry%2F20110505%2F1304566548&quot; title=&quot; fork/execモデルの起源 - Plan9日記&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>https://images-fe.ssl-images-amazon.com/images/I/414Po7lDbIL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-05-05 12:35:48</published>
  <title> fork/execモデルの起源</title>
  <type>rich</type>
  <url>https://oraccha.hatenadiary.org/entry/20110505/1304566548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
