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

test: use IO#popen instead of Kernel#open #4369

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Commits on Dec 27, 2023

  1. test: use IO#popen instead of Kernel#open

    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 <hayashi@clear-code.com>
    kenhys committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    6d76370 View commit details
    Browse the repository at this point in the history