Skip to content

Small spawn fixes#6498

Merged
headius merged 9 commits intojruby:masterfrom
headius:spawn_stuff
Dec 17, 2020
Merged

Small spawn fixes#6498
headius merged 9 commits intojruby:masterfrom
headius:spawn_stuff

Conversation

@headius
Copy link
Member

@headius headius commented Dec 16, 2020

Various fixes to try to tidy up tests and specs we are not currently passing.

@headius headius added this to the JRuby 9.3.0.0 milestone Dec 16, 2020
This was disabled because we can't close them in the parent, but
posix_spawn provides a way to close during the fork. This code was
active but not reachable.
Most of this will never be possible with posix_spawn so having the
commented code from CRuby is not useful.
Now uses posix_spawn rather than opening file in parent process,
and properly uses WRONLY when redirecting out and err.
@headius headius merged commit 9d224a7 into jruby:master Dec 17, 2020
@headius headius deleted the spawn_stuff branch December 17, 2020 17:54
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.

1 participant