Skip to content

Conversation

SteveLauC
Copy link
Member

What does this PR do

The path argument of posix_spawn() is a path, we should use our NixPath trait here. Change its type from &CStr to &P where P: NixPath + ?Sized

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

This interface has not been released, so no changelog is needed.

@SteveLauC SteveLauC marked this pull request as ready for review February 2, 2025 13:50
@SteveLauC SteveLauC added this pull request to the merge queue Feb 2, 2025
Merged via the queue into nix-rust:master with commit 1c0f88f Feb 2, 2025
37 checks passed
@SteveLauC SteveLauC deleted the refactor/posix_spawn_path_arg branch February 2, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant