From:             [EMAIL PROTECTED]
Operating system: Linux Redhat 7.3
PHP version:      4.3.0RC1
PHP Bug Type:     Program Execution
Bug description:  proc_open connection hangs

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 bug report at http://bugs.php.net/?id=20532&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20532&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20532&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20532&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20532&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20532&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20532&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20532&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20532&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20532&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20532&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20532&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20532&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20532&r=isapi

Reply via email to