Skip to content

[Process] Added a "isTtySupported" static method #9013

Closed
@javiereguiluz

Description

@javiereguiluz

It allows to enable the TTY mode everywhere it's available without risking an exception:

$process = (new Process)->setTty(Process::isTtySupported());

See #6188


Sadly our docs about TTY, PTY, etc. are very lacking. There's an old issue about this --> #6188 We need to find someone who truly understand this well and explains it to us. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProcesshasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions