Skip to content

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Dec 12, 2024

posix_spawn() does not (portably) set errno. Instead, it returns its error code. Fix our call.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

`posix_spawn()` does not (portably) set `errno`. Instead, it returns its error code. Fix
our call.
@grynspan grynspan added bug 🪲 Something isn't working linux 🐧 Linux support (all distros) darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support exit-tests ☠️ Work related to exit tests freebsd 😈 FreeBSD support labels Dec 12, 2024
@grynspan grynspan self-assigned this Dec 12, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit a239222 into main Dec 12, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/fix-posix-spawn-error-handling branch December 12, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support exit-tests ☠️ Work related to exit tests freebsd 😈 FreeBSD support linux 🐧 Linux support (all distros)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants