From: Nobuyoshi Nakada Date: 2009-01-29T16:46:59+09:00 Subject: [ruby-core:21661] Re: [Bug #907] Various system() and backticks problems on Windows Hi, At Thu, 29 Jan 2009 10:49:14 +0900, James M. Lawrence wrote in [ruby-core:21650]: > > > > Many of built-in shell commands of Unix also exist as an > > > > independent file. e.g., /bin/echo, /bin/test, /bin/[ and so on, > > > > but not on Windows. > > > > > > So the reason is Unix emulation on mingw32/mswin32? > > > > No, of course. Such basic commands are built in the shell on > > Windows, just I meant. > > If you were not answering my question, then what is the answer? Why > does ruby support system("built-in-shell-command", "1") for this one > case of Windows + cmd.exe? Just followed the habits, e.g., nmake.exe also can run built-in commands such as echo, dir and so on. -- Nobu Nakada