Passing STDOUT to proc_open() can overwrite your log
DEV Community
Passing STDOUT to proc_open() can overwrite your log
PHP's proc_open() rewinds a redirected stdout file when you pass STDOUT or STDERR as a descriptor. A short repro, the one-line fix and a test that catches it.
0 comments
No comments yet.