From: nobu.nokada@... Date: 2004-08-21T06:57:25+09:00 Subject: Re: determining ruby interpreter Hi, At Fri, 20 Aug 2004 23:45:50 +0900, Ara.T.Howard wrote in [ruby-talk:109977]: > >>> Works on windows and cygwin, but you might have to add ".exe" to spawn > >>> an external process. > >> > >> really? the install name doesn't include the extention then? > > > > It doesn't, but EXEEXT is not needed by system and spawn. > > tricky. what is spawn?! As well as command.com/cmd.exe, some suffixes can be omitted. > does this do anything tricky on windows like it does on *nix: > > system "#{ cmd } 2>/dev/null" It would work except that: * redirection with file descriptor works only on cmd.exe, but not command.com, and * /dev/null doesn't exist on Windows. -- Nobu Nakada