Skip to content

Commit 93f8d18

Browse files
BrooooooklynCopilot
andcommitted
Update crates/fspy_shared_unix/src/spawn/mod.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: LongYinan <lynweklm@gmail.com>
1 parent f28df9a commit 93f8d18

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • crates/fspy_shared_unix/src/spawn

crates/fspy_shared_unix/src/spawn/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ use crate::{
2626
/// # Errors
2727
///
2828
/// Returns an error if:
29-
/// - Program resolution fails (from `command.resolve()`)
30-
/// - Environment variable operations fail
29+
/// - Program resolution fails (see [`Exec::resolve`] error variants, such as `ENOENT` (file not found) or `EACCES` (permission denied))
30+
/// - Environment variable operations fail (e.g., `ensure_env` may return `EINVAL` if an existing value conflicts)
31+
/// - Platform-specific errors from `os_specific::handle_exec`
3132
pub fn handle_exec(
3233
command: &mut Exec,
3334
config: ExecResolveConfig,

0 commit comments

Comments
 (0)