<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>proc_open</anon>
    <anon>php</anon>
  </categories>
  <description>php でプロセス（プログラム実行) proc_openでプログラム実行 exec同等 コマンドからの出力 標準出力・エラーを捨てる 省略可能 標準出力を指定のファイルに 出力結果を一時ファイルに出す。 php://temp を使う場合の注意点 標準エラー出力を別のファイルに エラー出力と標準出力をそれぞれ別のファイルに出す。 出力にパイプを使う。 パイプを使う例 パイプ close タイミング コマンドへの入力 標準入力をプロセスにわたす。 パイプでコマンドに入力を渡す。 一時ファイル作らずにパイプと標準入出力を使う。 unlink だらけの美しくないコード 削除処理が必要になる理由 プロセ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2020%2F03%2F05%2F170943&quot; title=&quot; phpのproc_open関数でコマンドのstdin/stdout/パイプを使う例を確認しました。 - それマグで！&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://m.media-amazon.com/images/I/41HbBZyeJ3L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-05 17:09:43</published>
  <title> phpのproc_open関数でコマンドのstdin/stdout/パイプを使う例を確認しました。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2020/03/05/170943</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
