Skip to content
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

Use Process::fork in place of fork #131

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

Stevo-S
Copy link
Contributor

@Stevo-S Stevo-S commented Dec 19, 2023

to make it easier to override the default behaviour of fork
if needed.

SimpleCov, for example, does this when working with subprocesses.

SimpleCov.enable_for_subprocesses will allow SimpleCov to observe subprocesses starting using Process.fork. This modifies ruby's core Process.fork method so that SimpleCov can see into it...

to make it easier to override the default behaviour of fork
if needed.
@Stevo-S Stevo-S marked this pull request as ready for review December 19, 2023 08:17
@tmm1 tmm1 merged commit 5ec0ee1 into tmm1:master Dec 19, 2023
15 checks passed
@Stevo-S Stevo-S deleted the use-process-module-fork branch December 19, 2023 23:56
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.

None yet

2 participants