-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Causes issues passing descriptors to subprocesses #43
Comments
Thanks for the detailed description. The stream functionality is magic for me, so I don't quite know what to do with it, just experimenting. Could you verify that this solves the problem? 2cb1b3c |
@dg I checked your fix and cannot confirm that it works. The error stays the same. :( |
I have no idea what to do… |
@dg I am sorry. I tried to debug the code, but could not find anything of help. Maybe it is a bug in PHP itself. I am not deep in the php stream wrapper functionality and can not help here. :( |
I think the problem is the missing implementation of |
I had an issue reported to my package
donatj/mock-webserver
that turned out to be caused by this package.donatj/mock-webserver#59 (comment)
After poking @sigma-z's example a bit, I've determined there's some sort of problem with this using this library AND generating file descriptors that can be passed to sub processes with
proc_open
.I've boiled an example of the problem down to:
If you run this, you get something like
If you comment out the line
DG\BypassFinals::enable();
though you get the expectedIt's failing to either create or pass the file descriptor to the subprocess.
I seem to be able to solve it on my site by replacing the line
with
and I very well might do that but I still think this likely calls for some investigation
The text was updated successfully, but these errors were encountered: