canonical / canonical/craft-cli

Handle interactive terminal inside emitter stream context

Open
#347 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
27
Avg merge
2d 1h
Merged PRs (30d)
12

Description

### What needs to get done

Allow a command running inside an `open_stream` emitter context to escape from output redirection and handle terminal I/O interactively.

### Why it needs to get done

When executing craft test spread runs in a stream context to collect log messages, but it may also open interactive sessions if running with `-shell`, `-shell-after`, or `-debug`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.