Req #65537 [Opn->Dup]: There is no way to use Unix98 pty on proc_open()
| From: | nikic@php.net | Date: | Thu, 30 Apr 2020 08:30:18 +0000 |
| Subject: | Req #65537 [Opn->Dup]: There is no way to use Unix98 pty on proc_open() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226844@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65537&edit=1
ID: 65537
Updated by: nikic@php.net
Reported by: amrood dot admin at gmail dot com
Summary: There is no way to use Unix98 pty on proc_open()
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
Package: Filesystem function related
Operating System: CentOS 6
PHP Version: 5.4.19
Block user comment: N
Private report: N
New Comment:
Closing this as a duplicate of bug #33147.
Previous Comments:
------------------------------------------------------------------------
[2013-08-24 12:23:28] amrood dot admin at gmail dot com
Description:
------------
Hi,
I tried to use pty terminal type with PHP proc_open() function but could not
success and got following message:
PHP Warning: proc_open(): pty pseudo terminal not supported on this system in
xxxx.php on line xx
I saw it was raised somewhere in 2006 with Bug #39224 but not sure why it was not
fixed.
If you can give any clue why it was not fixed? Any security or any other issue? I
can see this code is still available in proc_open.c
Any help will be highly appreciated.
Kind regards
Mohtashim
Test script:
---------------
$descriptorspec = array(
0 => array("pty"),
1 => array("pty"),
2 => array("pty")
);
$cwd = '/tmp';
$env = array('some_option' => 'aeiou');
Expected result:
----------------
No error.
Actual result:
--------------
PHP Warning: proc_open(): pty pseudo terminal not supported on this system in
xxxx.php on line xx
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65537&edit=1