Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65493 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72538 invoked from network); 30 Jan 2013 11:53:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 11:53:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.169 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.169 mail-ia0-f169.google.com Received: from [209.85.210.169] ([209.85.210.169:59330] helo=mail-ia0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/0C-09318-2D909015 for ; Wed, 30 Jan 2013 06:53:55 -0500 Received: by mail-ia0-f169.google.com with SMTP id j5so2211898iaf.28 for ; Wed, 30 Jan 2013 03:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=vF6clRW8tPXPzOMgv20osfn428UODJNgNvD65cI0bSA=; b=X/FrTl0v04BAPhNINU5psGlv4u7cyHDiM2M0EcnPzczkZzspGN9HdgEwyyUr0BvHo3 qmRiWLZbWwoQK08a5EkMkaZDXdthUSGPCyxDSKnuVSsue4d11bUbuRjyJ0Nl9XeVIRPc zgc8VUSsTMeXlA48oSTK+ldzWCqzUTIpntI0vSbJ4Q7AwBM18X8doJXEX8l1mN4SrE6s AosezjfjcpXrrUHUNQheAGO9Vx3rN0fbnJDmSbGLtxUNvmfAY/KhDQsTWhLmxRH621eS wXe9S8BfqwnA2ZKk6PVMRIUxbi2TYT2zMy/PHMpbT6DhBXLtxLDAg51UCnofjA+UmmLk p95Q== MIME-Version: 1.0 X-Received: by 10.50.88.226 with SMTP id bj2mr3186623igb.105.1359546831990; Wed, 30 Jan 2013 03:53:51 -0800 (PST) Received: by 10.50.106.138 with HTTP; Wed, 30 Jan 2013 03:53:51 -0800 (PST) In-Reply-To: <510907D6.8060200@hoa-project.net> References: <5108FB35.1060906@hoa-project.net> <510907D6.8060200@hoa-project.net> Date: Wed, 30 Jan 2013 12:53:51 +0100 Message-ID: To: ivan.enderlin@hoa-project.net Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8f3bb01ff9f10704d480290a Subject: Re: [PHP-DEV] About PTY From: tyra3l@gmail.com (Ferenc Kovacs) --e89a8f3bb01ff9f10704d480290a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2013 at 12:45 PM, Ivan Enderlin @ Hoa < ivan.enderlin@hoa-project.net> wrote: > On 30/01/13 11:58, Ferenc Kovacs wrote: > >> On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa < >> ivan.enderlin@hoa-project.net> wrote: >> >> Hi, >>> >>> I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using >>> proc_open with $descriptors =3D [[0 =3D> 'pty']] for example. When I tr= y, I >>> have an error because PTY seems to not be supported. ./configure does n= ot >>> propose me to --enable-pty as I have seen in some related posts. >>> >>> >>> >>> Hi, >> > Hi, > > based on http://lxr.php.net/xref/PHP_**TRUNK/ext/standard/proc_open.** >> c#653 an= d >> http://lxr.php.net/xref/PHP_**TRUNK/ext/standard/proc_open.**c#64 (notice the >> 0 &&) I would say it isn't supported anymore. >> > Yup, I have seen this condition after sending the email. > > > > wez turned that off 9 years ago: >> https://github.com/php/php-**src/commit/**bd818c0118ba406d82f901d4f97a13= * >> *4727440df4 >> > But why? Are arguments always valid today? > > Thanks. > > from the previous commits it seems that we had some kind of proc_open build issue and didn't managed to solve it without removing that: http://git.php.net/?p=3Dphp-src.git;a=3Dhistory;f=3Dext/standard/proc_open.= c;h=3D2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=3Dbd818c0118ba406d82f901d= 4f97a134727440df4 --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --e89a8f3bb01ff9f10704d480290a--