summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-05 17:41:59 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-11 15:48:10 +0200
commit6285bb52faf407b07e71497723d13a1b08821352 (patch)
tree8ad856186eb2685fbfd8a3694754843265bc8100 /tests/basic
parent42cac9d7d7e5c82cf3565a33f3dd6c3d2c6b42d4 (diff)
downloadphp-git-6285bb52faf407b07e71497723d13a1b08821352.tar.gz
Support redirect+null descriptors in proc_open
This adds support for doing something like: [1 => ['pipe', 'w'], 2 => ['redirect', 1]] This will make descriptor 2 on the child end a dup'd descriptor 1. This is mainly useful in conjunction with shell-less mode, because we don't have an easy way to do "2>&1" there. Additionally we support: [1 => ['pipe', 'w'], 2 => ['null']] Which would be the same as a >/dev/null or >nul redirect, depending on platform.
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions