|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20532 proc_open connection hangs
Submitted: 2002-11-20 22:13 UTC Modified: 2002-12-04 18:17 UTC
From: chergr at bigpond dot com Assigned:
Status: No Feedback Package: Program Execution
PHP Version: 4.3.0RC1 OS: Linux Redhat 7.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-11-20 22:13 UTC] chergr at bigpond dot com
The example in the manual that invokes the cli version of 
php works. But If I try to do the same thing with R (the 
statistics package at it hangs. Almost 
the same problem with bc -- output is only seen there if 
the fwrite connection is closed before doing an fread/fget.
R buffers its output in non-terminal mode so I have tried 
modifying the source of R to force line-buffered output -- 
no joy. I have also tried calling R indirectly via the 
unbuffer script that comes with expect -- no joy. I have 
also tried the pty example program from "Advanced 
Programming in the Unix environment -- no joy.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-24 12:54 UTC]
Please provide a SHORT example that could be used to replicate the problem.
 [2002-12-04 18:17 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 29 10:03:53 2023 UTC