php.net |  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 www.r-project.org) 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-24 12:54 UTC] iliaa@php.net
Please provide a SHORT example that could be used to replicate the problem.
 [2002-12-04 18:17 UTC] sniper@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 22:03:39 2021 UTC