Req #64150 [Opn->Dup]: Add PTY support
| From: | nikic@php.net | Date: | Thu, 30 Apr 2020 08:30:29 +0000 |
| Subject: | Req #64150 [Opn->Dup]: Add PTY support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226845@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64150&edit=1
ID: 64150
Updated by: nikic@php.net
Reported by: ivan dot enderlin at hoa-project dot net
Summary: Add PTY support
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
Package: Streams related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Closing this as a duplicate of bug #33147.
Previous Comments:
------------------------------------------------------------------------
[2013-02-05 08:00:51] ivan dot enderlin at hoa-project dot net
Description:
------------
Hello,
Pseudoterminals (aka PTY) are very useful in many cases (please, read [1] [2] [3]). PHP has a
âdisabledâ implementation of PTY (please see discussion [4] and you will find relevant
links inside).
I wonder if technical issues encountered in the past are always true nowadays. If it does not, it
would be a very great enhancement!
[1] http://en.wikipedia.org/wiki/Pseudo_terminal
[2] http://kernel.org/doc/man-pages/online/pages/man7/pty.7.html
[3] http://www.freebsd.org/cgi/man.cgi?query=pty
[4] http://marc.info/?l=php-internals&m=135954314930310
Test script:
---------------
<?php
$p = proc_open(
'php',
[0 => ['pty', 'r'], 1 => ['pty', 'w']],
$pipes
);
Actual result:
--------------
Warning: proc_open(): pty pseudo terminal not supported on this system in /tmp/foo.php on line 7
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64150&edit=1