Skip to content

Support non-interactive mode (IDFGH-13828) #18

Open
@alanmosely

Description

@alanmosely

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Described the feature in detail and justified the reason for the request.
  • Provided specific use cases and examples.

Feature description

I am adding esp-idf integration to Dagger (see https://daggerverse.dev/mod/github.com/alanmosely/daggerverse/esp-idf) and one of the things I'd like to support is running idf.py monitor within the official Espressif IDF Docker image.

This is not currently possible using Dagger as it does not pass in stdin (see with_exec docs) so I get the error: Monitor requires standard input to be attached to TTY

In #14233, which covers a related issue, @dobairoland suggests creating a non-interactive mode for IDF monitor where if no stdin is attached, all interactive features are disabled with a warning - this is what this task is requesting

Use cases

Running monitor as part of an automated pipeline, in my case, a Dagger build

Alternatives

Modify Dagger SDK to be able to attach stdin - this would be a Dagger-specific workaround

Additional context

No response

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