Skip to content

[🚀 Feature]: Use Process.spawn instead of the child_process gem #11251

Closed
@eregon

Description

@eregon

Feature and motivation

Since selenium is Ruby 2.7+ it can use Process.spawn which exists since 2.4.
Process.spawn covers the whole API of child_process, so there is no need for that dependency and it should be fairly easy to remove it.
child_process is unfortunately not very actively maintained, and that causes issues, for instance oracle/truffleruby#1525 / enkessler/childprocess#172.

Usage example

As a result, selenium would have 1 less dependency, one less piece of highly platform-dependent code, and runs better on more platforms.

Metadata

Metadata

Assignees

Labels

C-rbRuby BindingsI-enhancementSomething could be better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions