Skip to content

tox4: (regression) unable to run interactive commands #2374

@ssbarnea

Description

@ssbarnea

While with tox 3 it was possible to start interactive commands as shells, with tox4 this is no longer possible because apparently there is some buffering implied which has two side effects:

  • Output not displayed until a new line is send, so login: prompt would not be seen
  • What you type is not displayed

I tried setting PYTHONUNBUFFERED=1 but it has no effect.

If you happened to had a tox env that runs docker run -it container-name /bin/bash, debugging would become close to impossible with tox4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:normalaffects many people or has quite an impactlevel:hardrought estimate that this might be quite hard to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions