ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:70456] [Ruby trunk - Bug #11463] [Open] Process.spawn raises TypeError when passing hash with keys/vals other than strings
       [not found] <redmine.issue-11463.20150819084603@ruby-lang.org>
@ 2015-08-19  8:46 ` jakub.jursa1
  2015-08-19 14:57 ` [ruby-core:70461] [Ruby trunk - Bug #11463] " nobu
  1 sibling, 0 replies; 2+ messages in thread
From: jakub.jursa1 @ 2015-08-19  8:46 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:70461] [Ruby trunk - Bug #11463] Process.spawn raises TypeError when passing hash with keys/vals other than strings
       [not found] <redmine.issue-11463.20150819084603@ruby-lang.org>
  2015-08-19  8:46 ` [ruby-core:70456] [Ruby trunk - Bug #11463] [Open] Process.spawn raises TypeError when passing hash with keys/vals other than strings jakub.jursa1
@ 2015-08-19 14:57 ` nobu
  1 sibling, 0 replies; 2+ messages in thread
From: nobu @ 2015-08-19 14:57 UTC (permalink / raw
  To: ruby-core

Issue #11463 has been updated by Nobuyoshi Nakada.

Description updated

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

* Author: Jakub Jursa
* Status: Closed
* 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-19 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-11463.20150819084603@ruby-lang.org>
2015-08-19  8:46 ` [ruby-core:70456] [Ruby trunk - Bug #11463] [Open] Process.spawn raises TypeError when passing hash with keys/vals other than strings jakub.jursa1
2015-08-19 14:57 ` [ruby-core:70461] [Ruby trunk - Bug #11463] " nobu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).