On Wed, Jan 30, 2013 at 12:53 PM, Ferenc Kovacs <tyr...@gmail.com> wrote:
> > > > On Wed, Jan 30, 2013 at 12:45 PM, Ivan Enderlin @ Hoa < > ivan.ender...@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.ender...@hoa-project.net> wrote: >>> >>> Hi, >>>> >>>> I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using >>>> proc_open with $descriptors = [[0 => 'pty']] for example. When I try, 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 <http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653>and >>> http://lxr.php.net/xref/PHP_**TRUNK/ext/standard/proc_open.**c#64<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<https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4> >>> >> 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=php-src.git;a=history;f=ext/standard/proc_open.c;h=2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=bd818c0118ba406d82f901d4f97a134727440df4 > > > -- > Ferenc Kovács > @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. -- Ferenc Kovács @Tyr43l - http://tyrael.hu