Skip to content

cargo run no longer passes a stdin handle to child. #2530

@brson

Description

@brson

Until today I could run cargo run --release against rustup to kick off the interactive installer, which reads a byte from stdin for confirmation. As of today when I do this rustup exits with an error. Calling std::stdin().lock().lines().next() returns None where it used to return Some.

Working rustc / cargo:

rustc 1.9.0-nightly (98f0a9128 2016-03-23)
cargo 0.10.0-nightly (61ad6a0 2016-03-22)

Failing rustc / cargo:

rustc 1.9.0-nightly (d7a71687e 2016-03-24)
cargo 0.10.0-nightly (4e6434d 2016-03-24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions