Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions brush-core/src/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ pub trait Command: clap::Parser {

/// Executes the built-in command in the provided context.
///
/// Builtins can execute inline on the task that invoked them, which is commonly a runtime
/// worker. An implementation must not block that worker indefinitely on a file descriptor:
/// doing so can prevent a process-substitution producer from being polled and deadlock the
/// shell. Wrap synchronous reads that may wait on a pipe in
/// [`crate::openfiles::without_parking_worker`].
///
/// # Arguments
///
/// * `context` - The context in which the command is being executed.
Expand Down
Loading