[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70456] [Ruby trunk - Bug #11463] [Open] Process.spawn raises TypeError when passing hash with keys/vals other than strings

From: jakub.jursa1@...
Date: 2015-08-19 08:46:03 UTC
List: ruby-core #70456
Issue #11463 has been reported by Jakub Jursa.

----------------------------------------
Bug #11463: Process.spawn raises TypeError when passing hash with keys/vals other than strings
https://bugs.ruby-lang.org/issues/11463

* Author: Jakub Jursa
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0dev (2015-08-18 trunk 51624) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
**expected:**
~~~
head :001 > Process.spawn({"FOO" => 10}, "bash")
 => 13479 
~~~

**got in reality:**
~~~
head :001 > Process.spawn({"FOO" => 10}, "bash")
TypeError: no implicit conversion of Fixnum into String

This issue is similar to https://bugs.ruby-lang.org/issues/10859. Both issues aren't mentioned in docs ( http://ruby-doc.org/core-2.2.2/Process.html#method-c-spawn ) - who/how should I urge to fix it also there?
...
~~~



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next