#20532 [Opn->Fbk]: proc_open connection hangs
| From: | iliaa@php.net | Date: | Sun, 24 Nov 2002 18:54:56 +0000 |
| Subject: | #20532 [Opn->Fbk]: proc_open connection hangs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25733@lists.php.net to get a copy of this message | ||
ID: 20532
Updated by: iliaa@php.net
Reported By: chergr@bigpond.com
-Status: Open
+Status: Feedback
Bug Type: Program Execution
Operating System: Linux Redhat 7.3
PHP Version: 4.3.0RC1
New Comment:
Please provide a SHORT example that could be used to replicate the
problem.
Previous Comments:
------------------------------------------------------------------------
[2002-11-20 22:13:21] chergr@bigpond.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20532&edit=1