proc_open() defaults to the current working directory of the PHP process. Usually this will be DRUPAL_ROOT. Sometimes this might be another directory though (for my PHP 7.0.4 setup this seems to be / ). Since the paths are passed relatively to the DRUPAL_ROOT it would be more robust to use that as $cwd for proc_open().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

torotil created an issue. See original summary.

torotil’s picture

Status: Active » Needs review
FileSize
814 bytes

Here is a patch.

torotil’s picture

Issue summary: View changes