-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Prefer posix_spawn on OSX #126063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adamsitnik
merged 52 commits into
main
from
copilot/switch-to-posix-spawn-apple-targets
Mar 28, 2026
Merged
Prefer posix_spawn on OSX #126063
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
f47b2fd
Refactor StartCore to accept SafeFileHandle parameters; move pipe cre…
Copilot fea2a80
Fix build errors: XML doc comments and unsafe partial mismatch; add I…
Copilot 07d9369
Address PR feedback: remove partial methods, use SafeFileHandle.Creat…
Copilot b65842b
address my own feedback
adamsitnik 43b6301
more polishing after reading the code again
adamsitnik dc85b03
fix Unix build
adamsitnik 9ee1881
trigger the CI as it seems to got stuck
adamsitnik 17bc483
fix the tests:
adamsitnik c9c55f0
Merge branch 'main' into copilot/refactor-startcore-method-arguments
adamsitnik 7cf7f0c
handle INVALID_HANDLE_VALUE on Windows
adamsitnik 2c8c444
address code review feedback: don't use Console.OpenStandard*Handle o…
adamsitnik bba0144
Make Console.OpenStandard*Handle APIs work on Android by returning fd…
Copilot 7a345e2
Revert "Make Console.OpenStandard*Handle APIs work on Android by retu…
adamsitnik b362a72
address code review feedback: don't dup 0/1/2 on Unix
adamsitnik 419d7ab
Add StandardInput/Output/Error SafeFileHandle properties to ProcessSt…
Copilot 18995de
Remove unrelated files from commit
Copilot d40cf18
Address code review: fix pipe handle cleanup in tests
Copilot 60844f3
Address review feedback: reuse CantRedirectStreams, add LeaveHandlesO…
Copilot c8b8723
Address feedback: handles don't need to be inheritable, mention OpenN…
Copilot 12edafb
Merge branch 'main' into copilot/refactor-startcore-method-arguments
adamsitnik 6718589
Only create pipe handles for redirected streams, update callers to ha…
Copilot 6ddf417
Fix usesTerminal logic: null handle means child inherits parent's str…
Copilot dfec029
Merge branch 'main' into copilot/refactor-startcore-method-arguments
adamsitnik 4199424
Merge branch 'main' into copilot/refactor-startcore-method-arguments
adamsitnik 0aa6fcf
Merge branch 'copilot/refactor-startcore-method-arguments' into copil…
adamsitnik 017f286
Address review feedback: simplify test try/catch, remove manual Close…
Copilot 95247af
address my own feedback:
adamsitnik 7920b52
Rename StandardInput/Output/Error to StandardInputHandle/OutputHandle…
Copilot 477224c
don't duplicate the handle if it's inheritable already
adamsitnik a914e57
remove LeaveHandlesOpen
adamsitnik 7c1fa73
improve wording
adamsitnik c0ecbbc
address code review feedback
adamsitnik e30abcc
Apply suggestions from code review
adamsitnik e81296d
Fix ValidateHandle order and use fully qualified XML doc cref names
Copilot bb618c3
Switch to posix_spawn on Apple targets in SystemNative_ForkAndExecPro…
Copilot 0c0e7ca
Add POSIX_SPAWN_SETSIGMASK to set clean signal mask for spawned child
Copilot 1f39d43
Address PR feedback: use TARGET_OSX guard, set childPid early, captur…
Copilot 88b810a
Fix test: use RemotelyInvokable.SuccessExitCode (42) instead of 0
Copilot 2020c48
Add SkipOnPlatform attribute to restrict signal mask test to supporte…
Copilot a9551ed
Fix SkipOnPlatform to skip Windows instead of non-Unix mobile platforms
Copilot 90f070d
Fix signal-default setup: only reset custom handlers, skip SIGKILL/SI…
Copilot b5c490d
Add missing #include <spawn.h> for posix_spawn on macOS
Copilot 5bda57f
Merge branch 'main' into copilot/switch-to-posix-spawn-apple-targets
adamsitnik a9b574e
Reduce code duplication: combine setsigdefault, pthread_sigmask, sets…
Copilot 835a976
reduce code duplication, address feedback
adamsitnik cfc8713
Fix build error: move current_mask declaration before its use in comp…
Copilot 729fd3b
Revert "Fix build error: move current_mask declaration before its use…
Copilot c0afd23
Revert compound conditional change, just move current_mask declaratio…
Copilot 3407e5e
Merge branch 'main' into copilot/switch-to-posix-spawn-apple-targets
stephentoub 54f7706
Fix nit: add blank line before struct sigaction, fix double-comment typo
Copilot c878374
Apply suggestions from code review
adamsitnik 7e8c985
Merge branch 'main' into copilot/switch-to-posix-spawn-apple-targets
adamsitnik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.