<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ooxif</author_name>
  <author_url>https://blog.hatena.ne.jp/ooxif/</author_url>
  <blog_title>xif ノート</blog_title>
  <blog_url>https://ooxif.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>proc_open() で、 PHP が作る子プロセスの stdin/stdout/stderr と、 PHP プロセス自体のそれらを繋ぐ。 具体例 大量にある MySQL サーバに簡単にログインできるようにするためのスクリプトを書きたい。 実装例 mysql_connect.php (実行権限つき) #!/usr/bin/php -f &lt;?php // usage: mysql_connect.php database_name $dbname = $argv[1]; // get_connection_info() は適当に自作する。 list($host, $user, $passwor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fooxif.hatenadiary.org%2Fentry%2F20120113%2F1326447434&quot; title=&quot; PHP でシェルスクリプトを作成し、制御をシェルに戻したい場合 - xif ノート&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>2012-01-13 18:37:14</published>
  <title> PHP でシェルスクリプトを作成し、制御をシェルに戻したい場合</title>
  <type>rich</type>
  <url>https://ooxif.hatenadiary.org/entry/20120113/1326447434</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
