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

Implement native Kernel#spawn on Windows #4076

Open
headius opened this issue Aug 15, 2016 · 1 comment
Open

Implement native Kernel#spawn on Windows #4076

headius opened this issue Aug 15, 2016 · 1 comment

Comments

@headius
Copy link
Member

headius commented Aug 15, 2016

For #3948 and other issues, we need to get Kernel#spawn working properly on Windows.

In 9k, we moved to using native posix_spawn logic for our spawn implementation. However, posix_spawn is not available (out of the box) on Windows's posix layer. We'll need to use something else.

MRI has logic wrapping most of the process calls for Windows. Getting our support up to their level may simply be a matter of rewriting what they have in C as Java+FFI.

It's also possible that @djberg96 has an API-compatible spawn for Windows that we could just swipe.

Targeting 9.2, when we'll be doing Ruby 2.4 support, but this could happen any time.

@headius headius added this to the JRuby 9.2.0.0 milestone Aug 15, 2016
@headius headius mentioned this issue Mar 27, 2018
15 tasks
@headius headius modified the milestones: JRuby 9.2.0.0, JRuby 9.2.1.0 May 15, 2018
@headius headius modified the milestones: JRuby 9.2.1.0, JRuby 9.3.0.0 Oct 11, 2018
@headius headius modified the milestones: JRuby 9.3.0.0, JRuby 9.4.0.0 Jul 1, 2021
@headius headius modified the milestones: JRuby 9.4.0.0, JRuby 9.5.0.0 Nov 16, 2022
@byteit101 byteit101 self-assigned this Jan 22, 2023
@byteit101
Copy link
Member

SubSpawn's Win32 backend is implementing this in Ruby+FFI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants