Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PTY mode: Input/output error #34945

Copy link
Copy link
Closed
Closed
Copy link
@cheack

Description

@cheack
Issue body actions

Symfony version(s) affected: v4.4.1

Description
When I set PTY mode for process, I get the following error:

fread(): read of 8192 bytes failed with errno=5 Input/output error

OS: official ubuntu:18.04 docker image.
PHP: 7.4.0 from ondrej/php PPA:

PHP 7.4.0 (cli) (built: Nov 28 2019 07:27:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
    with Xdebug v2.8.1, Copyright (c) 2002-2019, by Derick Rethans

How to reproduce
Here is a minimal example:

$process = new Process(['echo', '123']);
$process->setPty(true);
$process->run();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.