Skip to content

PTY detection issues. #335

@lyrixx

Description

@lyrixx

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkind/php-and-sapiIssues related to php source and SAPI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions