Re: About PTY

From: Date: Wed, 30 Jan 2013 10:58:02 +0000
Subject: Re: About PTY
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa <
[email protected]> 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,

based on 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
 (notice the
0 &&) I would say it isn't supported anymore.
wez turned that off 9 years ago:
https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4



-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Thread (10 messages)

« previous php.internals (#65487) next »