peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.33k stars 202 forks source link

proc_open doesn't work on Linux #1077

Open kripper opened 1 year ago

kripper commented 1 year ago

Test case:

        $descriptor = array(
                0 => array('pipe', 'r'),  // We will read from stdin
                1 => array('pipe', 'w'),  // We will write to stdout
        );

        assert(proc_open("/bin/ls 'file'", $descriptor, $pipes));