Skip to content

Conversation

@Watson1978
Copy link
Contributor

Backport #4369

Which issue(s) this PR fixes:

N/A

What this PR does / why we need it:

open("|command") spawns command and create pipes for processing pipeline.

This feature of Kernel#open is deprecated, replace it with IO#popen.

It fixes the following warning:

warning: Calling Kernel#open with a leading '|' is deprecated and will
be removed in Ruby 4.0; use IO.popen instead

Docs Changes:

N/A

Release Note:

N/A

open("|command") spawns command and create pipes for
processing pipeline.

This feature of Kernel#open is deprecated, replace it with
IO#popen.

It fixes the following warning:

  warning: Calling Kernel#open with a leading '|' is deprecated and will
  be removed in Ruby 4.0; use IO.popen instead

Signed-off-by: Kentaro Hayashi <[email protected]>
@Watson1978 Watson1978 added the CI Test/CI issues label Dec 9, 2025
@Watson1978 Watson1978 added this to the v1.16.11 milestone Dec 9, 2025
@daipom daipom merged commit a0f65fc into v1.16 Dec 9, 2025
24 checks passed
@daipom daipom deleted the backport-to-1.16/pr4369 branch December 9, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Test/CI issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants