benchmark/driver.rb: --executables separator
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?
- benchmark/driver.rb: accept multiple
-e'. You don't need to use;' separation character. [ruby-trunk - Bug #7380]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#3 Updated by ko1 (Koichi Sasada) over 5 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
#4 [ruby-core:50158] Updated by Eregon (Benoit Daloze) over 5 years ago
ko1 (Koichi Sasada) wrote:
I always use -e with quote strings. does it bother you?
By the way, -e accept `:'
like -e "foo::path1; bar::path2"
as a label of path.
Oh, right, I did not think to the name::path usage, it would be weird to have both : and ::.
I like the solution to pass multiple -e options, thank you!