Skip to content

Tracking issue for CommandExt::before_exec #31398

@alexcrichton

Description

@alexcrichton

Open questions:

  • The requirements for Send + Sync on the closure need to be documented and are "somewhat odd"
  • It's somewhat surprising to have to deal with a list of callbacks to invoke, especially when order might matter quite a bit.
  • There are weird semantics with using Stdio::piped() for any of the stdio handles because they'll immediately close the other half of the pipe (via CLOEXEC).

This is a tracking issue for rust-lang/rfcs#1359.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    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