Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Mar 29, 2025

This PR pauses child processes we spawn before resuming them, which makes it easier to set a breakpoint and attach a debugger to those processes. This functionality is available on macOS and Windows; as far as I know, neither Linux nor POSIX-in-general has API for this.

Checklist:

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

This PR pauses child processes we spawn before resuming them, which makes it
easier to set a breakpoint and attach a debugger to those processes. This
functionality is available on macOS and Windows; as far as I know, neither Linux
nor POSIX-in-general has API for this.
@grynspan grynspan added windows 🪟 Windows support darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support exit-tests ☠️ Work related to exit tests labels Mar 29, 2025
@grynspan grynspan added this to the Swift 6.2 milestone Mar 29, 2025
@grynspan grynspan self-assigned this Mar 29, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 1f49df9 into main Mar 31, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/suspend-child-processes-on-spawn branch March 31, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support exit-tests ☠️ Work related to exit tests windows 🪟 Windows support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants