ID: 20532 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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