Actions
Bug #4294
closedIO.popen ['"ping"', 'localhost -n 3'] fails
Bug #4294:
IO.popen ['"ping"', 'localhost -n 3'] fails
Description
=begin
RUBY_VERSION
=> "1.9.2"
RUBY_PLATFORM
=> "i386-mingw32"
IO.popen ['"ping"', 'localhost -n 3']
Errno::EINVAL: Invalid argument - "ping"
from (irb):6:inpopen' from (irb):6 from d:/sdks/ruby/ruby-1.9.2-p0-i386-mingw32/bin/irb:12:in
'
tested on both ruby-1.9.2-p0 and ruby-1.9.2-p136
it works if the extra double quotes around 'ping' are removed.
=end
Files
Actions