Re: proc_open, fwrite, 16384 bytes magic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, as a follow-up, I just realized that from 'cat' I AM finally getting an
error in the log file, which will perhaps help trace the issue:

cat: stdout: Broken pipe

Could be wrong, but I think you're getting that error because you are closing $pipes[0] which well, closes the pipe and results in a broken pipe. Maybe... maybe not.

Anyway, on FreeBSD 5.4 running CLI PHP 5.0.5 with your previously sent script I get output of:

10240
10240

anyway, thought that might be helpful...



  The output is:
10240
  6144
  which makes up exactly the magic 16384 bytes. So it's certainly not a
qmail issue.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux