Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information