https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112016-11-06T01:05:30ZRuby Issue Tracking SystemRuby master - Feature #11428: system/exec/etc. should to_s their argument to restore Pathname functionality as it was in 1.8https://bugs.ruby-lang.org/issues/11428?journal_id=613492016-11-06T01:05:30Zakr (Akira Tanaka)akr@fsij.org
<ul></ul><p>I think <code>to_s</code> is too strong. However calling <code>to_path</code> is possible option.</p> Ruby master - Feature #11428: system/exec/etc. should to_s their argument to restore Pathname functionality as it was in 1.8https://bugs.ruby-lang.org/issues/11428?journal_id=613512016-11-06T02:17:13Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>Akira Tanaka wrote:</p>
<blockquote>
<p>I think <code>to_s</code> is too strong. However calling <code>to_path</code> is possible option.</p>
</blockquote>
<p>After <code>to_s</code> failed, try <code>to_path</code>?</p>