Project

General

Profile

Actions

Bug #7380

closed

benchmark/driver.rb: --executables separator

Added by Eregon (Benoit Daloze) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-17 trunk 37693) [x86_64-darwin10.8.0]
Backport:
[ruby-core:49488]

Description

Hello,

The separator used between ruby executables for the benchmark/driver.rb script is ";".
This requires the argument to be quoted (at least in bash/zsh) and produce an unintuitive result if not: only the first executable is taken by the script, the second executable launches the ruby interpreter with no arguments, thus waiting on stdin, which feels like the benchmark script hangs.

I proposed to use ":", the standard path separator instead.
For compatibility, ";" could split too, but I wish to document ":" in the help.

What do you think? May I go ahead?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0