{"provider_url":"https://hatena.blog","title":" php \u306e proc_open\u3067 pipe(\u30d1\u30a4\u30d7\uff09\u3092\u4f5c\u308b\u4f8b","description":"php \u3067\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u3059\u308b\u3068\u304d\u306b\u3001\u30d1\u30a4\u30d7\u3092\u4f5c\u3063\u3066\u305d\u308c\u305e\u308c\u306e\u5b9f\u884c\u3059\u308b\u3002 php \u3067 pipe\u3092\u4f5c\u308b\u4f8b <?php $p1_file_descriptor = [['pipe','r'],['pipe','w'],['pipe','w']]; $p1 = proc_open(['ls','/etc'],$p1_file_descriptor,$p1_pipes); fclose($p1_pipes[0]); $p2_file_descriptor = [$p1_pipes[1],['pipe','w'],['pipe','w']]; $p2 = proc_open(['grep','su'],$\u2026","author_url":"https://blog.hatena.ne.jp/takuya_1st/","version":"1.0","provider_name":"Hatena Blog","blog_url":"https://takuya-1st.hatenablog.jp/","published":"2023-12-13 23:30:00","categories":["php","system","pipe"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F12%2F13%2F233000\" title=\" php \u306e proc_open\u3067 pipe(\u30d1\u30a4\u30d7\uff09\u3092\u4f5c\u308b\u4f8b - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://takuya-1st.hatenablog.jp/entry/2023/12/13/233000","width":"100%","author_name":"takuya_1st","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","type":"rich","height":"190"}