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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
26 - 1 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 21:01:29 2024 UTC