-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Stderr of job is redirected to stdout #89
Conversation
Previously discussed in #86 |
@MartinMystikJonas I discovered that it is not so simple. With echo "STDOUT\n";
file_put_contents('php://stderr', "STDERR\n");
echo "STDOUT\n";
file_put_contents('php://stderr', "STDERR\n"); you get
And it is hard to split to stdout and stderr. |
@milo Can't you disable PHP output buffers? |
@milo: Even if you can not disable output buffer I think it is still better to have all messages in "wrong order" than some error messages missing. |
Have you tried it on Windows? I think it doesn't work. |
Would setting |
Yes, it helps. But bypass_shell must be enabled… |
In test output show both output of stdout and stderr not only stdout because some errors are written to stderr.