Issue #907 has been updated by James M. Lawrence.


Nobu wrote:
> > Note there are other popular Windows shells such the
> > PowerShell, so the general strategy of checking for built-in
> > shell commands cannot work.
>
> Is COMSPEC the PowerShell by the default on such systems?

Probably not, but that is not relevant to the point I wanted to make.

If system("built-in-shell-command", "1") fails on Unix, then it should
fail on Windows.

If it fails with an alternate shell on Windows, then it should fail
with all shells.

Why does ruby support system("built-in-shell-command", "1") for this
one case of Windows + cmd.exe?

----------------------------------------
http://redmine.ruby-lang.org/issues/show/907

----------------------------------------
http://redmine.ruby-lang.org