PTY detection issues.
Hello,
Thanks for your hard work! This is really cool.
We are integrating it to castor and be able to ship task runners as standalone lib.
But we face a strange bug with PTY:
With the static binary:
proc_open('echo 1 >/dev/null', [['pty'], ['pty'], ['pty']], $pipes)
Warning: proc_open(): PTY (pseudoterminal) not supported on this system
Actually, my term DO supports PTY.
>…om/jolicode/castor(add-compile-command *%) php -a
Interactive shell
php > var_dump(proc_open('echo 1 >/dev/null', [['pty'], ['pty'], ['pty']], $pipes));
resource(7) of type (process)