Project

General

Profile

Actions

Bug #1304

closed

Kernel#system bug

Added by Borislav (Borislav Stanimirov) about 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.1p0
Backport:
[ruby-core:22960]

Description

=begin
To reproduce on Windows:
Create a batch file with one argument in a folder that has a space in its name. In Ruby call:
system('"c:\your full path\batchfile.bat" yourparam')

It will behave as if the quotations are missing. (Error: c:\your is not recognized as a command...)
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0