diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-04 18:52:27 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-04 18:52:27 -0500 |
commit | fb261e19ffc3bf19477510fa3877a8d9ea251655 (patch) | |
tree | 75b5920481712a4502a5344073c089d28c5fc5b0 /phpBB/includes/acp/acp_update.php | |
parent | 8ea52b56197cc9a234d6b0ce3ddd10820feb6dd1 (diff) | |
download | forums-fb261e19ffc3bf19477510fa3877a8d9ea251655.tar forums-fb261e19ffc3bf19477510fa3877a8d9ea251655.tar.gz forums-fb261e19ffc3bf19477510fa3877a8d9ea251655.tar.bz2 forums-fb261e19ffc3bf19477510fa3877a8d9ea251655.tar.xz forums-fb261e19ffc3bf19477510fa3877a8d9ea251655.zip |
[ticket/10716] Collect standard error from executed php process.
php executes everything via a shell. The standard error of this
top level shell is not captured by exec/shell_exec/popen/etc.
and there is no way to capture it. proc_open might work but it
is a nightmare to use and without multiplexing reads from
standard error and standard output it can deadlock.
Thus the solution in this commit. Put the command into a subshell
and redirect standard error to standard output for the subshell.
PHPBB3-10716
Diffstat (limited to 'phpBB/includes/acp/acp_update.php')
0 files changed, 0 insertions, 0 deletions