General

Profile

redstun (red stun)

  • Login: redstun
  • Registered on: 01/29/2010
  • Last sign in: 01/21/2011

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

01/21/2011

11:29 AM Ruby Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
=begin
Thank you Usaku,

I can take what you've said if that's what Ruby Spec has specified.

I just don't know where to find the respective spec,
the ruby-doc[1] doesn't have such words

[1] http://ruby-doc.org/core/cl...
redstun (red stun)

01/20/2011

01:48 PM Ruby Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
=begin
Right, the case became more obvious when we're running commands whose path contains spaces.

In 1.8.7 IO.popen only support cmd_string, not cmd_array, anyway, the respective form IO.popen '"ping" -n 3 localhost' works, and th...
redstun (red stun)
12:54 AM Ruby Bug #4294 (Closed): IO.popen ['"ping"', 'localhost -n 3'] fails
=begin
>> RUBY_VERSION
=> "1.9.2"
>> RUBY_PLATFORM
=> "i386-mingw32"
>> IO.popen ['"ping"', 'localhost -n 3']
Errno::EINVAL: Invalid argument - "ping"
from (irb):6:in `popen'
from (irb):6
from d:...
redstun (red stun)

01/29/2010

08:35 PM Ruby Bug #2685 (Closed): Wrong call sequence example for RDoc of method flo_minus in numeric.c
=begin
Seems a copy paste issue.
The attached patch itself says it all,

Index: numeric.c
===================================================================
--- numeric.c (revision 26468)
+++ numeric.c (working copy)
...
redstun (red stun)

Also available in: Atom