From: nagachika00@... Date: 2014-01-28T12:48:11+00:00 Subject: [ruby-core:60173] [Backport200 - Backport #9435] Kernel.system problem Issue #9435 has been updated by Tomoyuki Chikanaga. Hello, wind. Thank you for your report. Could you confirm it can be reproducible with 2.1.0? ---------------------------------------- Backport #9435: Kernel.system problem https://bugs.ruby-lang.org/issues/9435#change-44658 * Author: wind winy * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 2.0.0 ---------------------------------------- if ENV['PATH'] include double quotes, Kernel.system cann't find it. windows OS, open a cmd window ``` set PATH="C:\Program Files\7-Zip";%PATH% 7z -h # can run it pry system '7z -h' # can't find ``` and, if command include double quotes, system can't find too. ``` system '"C:\Program Files\7-Zip\7z" -h' # ok system '"C:\Program Files\7-Zip"\7z -h' # can't find system '"C:\Program Files\7-Zip\"7z -h' # can't find ``` -- http://bugs.ruby-lang.org/