Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74016 invoked from network); 30 Jan 2013 11:56:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 11:56:22 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.174 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.174 mail-ia0-f174.google.com Received: from [209.85.210.174] ([209.85.210.174:46072] helo=mail-ia0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/5C-09318-66A09015 for ; Wed, 30 Jan 2013 06:56:22 -0500 Received: by mail-ia0-f174.google.com with SMTP id o25so2183039iad.33 for ; Wed, 30 Jan 2013 03:56:20 -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=oI3bWCfftu1Uuyi7zqLPxdVOf5gTm8o5b8sX/qYZyWs=; b=pT+PJNnk/IbVrtQj+nxM3TkpVxkaMaO3wyuOnR9fN0t40wZbUr0v/Mbg4imcohI/bb skGH3wlR4sDaPnAlQ9eFxLrO8zqFOs2f05C5n01TYBma3zkenzt0Yj6XFlfEhuP4Q7PF 49cT7oZhGuMvJd3yrfmsX3LH3m5ByfIRihshG6w3rjJ/DjJnYMHAH2giXNY4DlC5d9CD cWupmNCSBSPfJq03DMGWIh2qSMOnq/33+THcaOTEEXYTEw3eSQ9iMVJSG4IysqkUV9ok o+Y7BKRNO1VqD2/1RBu4PHvTHXRXYKod5C1Dn86s4haeyUmslDdLA9rPRyM4pKo7OD9L OvPw== MIME-Version: 1.0 X-Received: by 10.42.157.68 with SMTP id c4mr2901174icx.35.1359546979995; Wed, 30 Jan 2013 03:56:19 -0800 (PST) Received: by 10.50.106.138 with HTTP; Wed, 30 Jan 2013 03:56:19 -0800 (PST) In-Reply-To: References: <5108FB35.1060906@hoa-project.net> <510907D6.8060200@hoa-project.net> Date: Wed, 30 Jan 2013 12:56:19 +0100 Message-ID: To: ivan.enderlin@hoa-project.net Cc: PHP Internals Content-Type: multipart/alternative; boundary=90e6ba613b32cc4f3504d48032fe Subject: Re: [PHP-DEV] About PTY From: tyra3l@gmail.com (Ferenc Kovacs) --90e6ba613b32cc4f3504d48032fe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2013 at 12:53 PM, Ferenc Kovacs wrote: > > > > 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) usin= g >>>> proc_open with $descriptors =3D [[0 =3D> 'pty']] for example. When I t= ry, I >>>> have an error because PTY seems to not be supported. ./configure does >>>> not >>>> 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 a= nd >>> 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/**bd818c0118ba406d82f901d4f97a1= 3 >>> **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_ope= n.c;h=3D2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=3Dbd818c0118ba406d82f90= 1d4f97a134727440df4 > > > -- > Ferenc Kov=C3=A1cs > @Tyr43l - http://tyrael.hu > and for the record, it seems that the whole feature lived less than a month and a half, so it isn't something that we properly tested or announced. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --90e6ba613b32cc4f3504d48032fe--